Description
decap-server contains a path traversal vulnerability in the local proxy containment guard that uses plain string prefix comparison without path separator validation. Attackers can access sibling directories whose names begin with the repository directory name to read, write, or delete files outside the intended repository root.
Severity (CVSS)
| Base score | 7.6 |
|---|---|
| Severity | High |
| Version | CVSS 4.0 |
| Vector | CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:P/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N |
| Provided by | CNA |
Weaknesses
- CWE-22 — Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
Affected products
| Vendor | Product | Versions |
|---|---|---|
| decaporg | decap-server | 11f35405cd1a1d1216e97b890173f46436752019 |
References
- https://github.com/geo-chen/oss/blob/main/decap-cms.md (technical-description exploit)
- https://github.com/decaporg/decap-cms/blob/11f35405cd1a1d1216e97b890173f46436752019/packages/decap-server/src/middlewares/joi/customValidators.ts#L11-L16 (technical-description)
- https://github.com/decaporg/decap-cms (product)
- https://www.vulncheck.com/advisories/decap-server-path-traversal-via-sibling-directory-prefix-matching (third-party-advisory)
Generated from the official CVE List on 17 Sep 2026 07:04 UTC.