> CVE-2026-40318 [HIGH]

« BACK_TO_HOME
PUBLISHED
2026-04-16 23:16
MODIFIED
2026-04-16 23:16
CVSS_SCORE V3
8.5
EPSS (Prob. Exploit)
0.44%
Top 62.8%
DATA SOURCES:
NVD 🔗 2026-04-17 CWE MITRE 🔗 2026-11-01 FIRST EPSS 🔗 2026-10-25 GITHUB 🔗 2026-11-05 OSV 🔗 2026-09-20

> DESCRIPTION

SiYuan is an open-source personal knowledge management system. In versions 3.6.3 and prior, the /api/av/removeUnusedAttributeView endpoint constructs a filesystem path using the user-controlled id parameter without validation or path boundary enforcement. An attacker can inject path traversal sequences such as ../ into the id value to escape the intended directory and delete arbitrary .json files on the server, including global configuration files and workspace metadata. This issue has been fixed in version 3.6.4.

> AFFECTED_PRODUCTS

ℹ️ Aucun produit affecté n'a encore été publié par NVD pour cette CVE.

> CVSS V3 METRICS

CVSS_VECTOR
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:L/A:H
EXPLOITABILITY
3.1
IMPACT
4.7

> MÉTRIQUES CVSS DÉTAILLÉES

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:L/A:H
Métrique Valeur Interprétation
AV (Vecteur d'Attaque)
Attack Vector
Network (N)
Exploit possible à distance via réseau (HTTP, API, etc.)
AC (Complexité d'Attaque)
Attack Complexity
Low (L)
Peu de conditions requises pour exploiter
PR (Privilèges Requis)
Privileges Required
Low (L)
Authentifié avec compte utilisateur basique
UI (Interaction Utilisateur)
User Interaction
None (N)
Aucune interaction utilisateur nécessaire
S (Périmètre)
Scope
Changed (C)
Impact s'étend au-delà du composant compromis
C (Impact Confidentialité)
Confidentiality Impact
None (N)
Aucune divulgation d'informations
I (Impact Intégrité)
Integrity Impact
Low (L)
Modification limitée des données possible
A (Impact Disponibilité)
Availability Impact
High (H)
Interruption totale du service possible

> RÉSUMÉ DES IMPACTS

Confidentialité
None
Aucune divulgation d'informations
Intégrité
Low
Modification limitée des données possible
Disponibilité
High
Interruption totale du service possible

> WEAKNESSES

CWE-24

> CWE DETAILED DESCRIPTIONS

CWE-24: Path Traversal: '../filedir' - The product uses external input to construct a pathname that should be within a restricted directory, but it does not properly neutralize "../" sequences that can resolve to a location that is outside of that directory.

> GITHUB SECURITY ADVISORY

GHSA-vw86-c94w-v3x4 HIGH

SiYuan: Publish Reader Path Traversal Delete via `removeUnusedAttributeView`

AFFECTED PACKAGES:
GO / github.com/siyuan-note/siyuan/kernel
< 0.0.0-20260407035653-2f416e5253f1
Fixed in: 3.6.40.0.0-20260407035653-2f416e5253f1

> OSV (GOOGLE OPEN SOURCE VULNERABILITIES)

SiYuan: Publish Reader Path Traversal Delete via `removeUnusedAttributeView`

AFFECTED PACKAGES:
Unknown / Unknown
678 versions affected
ALIASES:
GHSA-vw86-c94w-v3x4, GO-2026-5679

> HISTORIQUE DES MODIFICATIONS

Première apparition
16/04/2026 23:16
Source: NVD
📊 ENRICHISSEMENT 01/05/2026 06:01
CWE
Champ modifié: Description CWE
Ancienne valeur:
N/A
Nouvelle valeur:
CWE-24: Path Traversal: '../filedir' - The product uses external input to construct a pathname that should be within a restricted directory, but it does not properly neutralize "../" sequences that ca...
Total des modifications: 1 Dernière mise à jour: 6 months ago

> REFERENCES

https://github.com/siyuan-note/siyuan/releases/tag/v3.6.4
https://github.com/siyuan-note/siyuan/security/advisories/GHSA-vw86-c94w-v3x4
« BACK_TO_HOME