Servers and applications
CVE-2026-21857
Path Traversal in Backup Addon Leading to Arbitrary File Read
- Severity
- High 8.3
- Published
- 5 Jan 2026
- Last changed
- 17 Jun 2026
- Added to UpHeron
- 3 Nov 2026
- Fixed in
- 5.20.2
- Exploit chance
- 0.5% in the next 30 daysHigher than 45% of CVEs. EPSS by FIRST, 19 Nov 2026
- Weakness
- Path traversal (CWE-22)CWE-24
- Attack
- Over the network · Needs an administrator account · No user action needed
- Attacker can
- Read data
- CVSS vector
CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:N/VA:N/SC:H/SI:H/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X- Also known as
- GHSA-824x-88xg-cwrv
- Sources
- NVD, Project advisories (GitHub)
Description
Authenticated users with backup permissions can read arbitrary files within the webroot via path traversal in the Backup addon's file export functionality.
The Backup addon does not validate the EXPDIR POST parameter against the UI-generated allowlist of permitted directories. An attacker can supply relative paths containing ../ sequences (or even absolute paths inside the document root) to include any readable file in the generated .tar.gz archive.
Vulnerable code:
- redaxo/src/addons/backup/pages/export.php (lines 72-76) – directly uses $_POST['EXPDIR']
- redaxo/src/addons/backup/lib/backup.php (lines ~413 & ~427) – concatenates unsanitized user input with base path
This allows disclosure of sensitive files such as:
- redaxo/data/core/config.yml → database credentials + password hashes of all backend users
- .env, custom configuration files, logs, uploaded malicious files, etc.
Full compromise of the REDAXO installation:
Affected software
| Software | Affected versions |
|---|---|
REDAXOServers and applications · cpe:a:redaxo:redaxo |
|
REDAXOServers and applications · github:redaxo/core |
|
About REDAXO
Content management system
- GitHub stars
- 356GitHub, 15 Nov 2026
- Forks
- 115GitHub, 15 Nov 2026
- Latest release
- 5.21.6GitHub, 15 Nov 2026
- Released
- 25 Oct 2026GitHub
- License
- MIT LicenseWikidata
- Written in
- PHPWikidata
- First published on GitHub
- 4 Jul 2010GitHub
Vulnerabilities in REDAXO
- In our list
- 64
- Published in the last 12 months
- 42
- Critical, last 12 months
- 2
- High, last 12 months
- 13
- Known exploited
- 0
- CVE-2026-126318REDAXO before 5.21.6 Authorization Bypass of Live Version PermissionMedium 5.3 13 Nov 2026
- CVE-2026-117538REDAXO before 5.21.0 Reflected XSS via Packages API function ParameterLow 2.1 27 Oct 2026
- CVE-2026-117537REDAXO before 5.21.0 Reflected XSS via Metainfo API type ParameterLow 2.1 27 Oct 2026
- CVE-2026-117536REDAXO before 5.21.3 CSRF Token Bypass via users/users Privilege EscalationHigh 8.6 27 Oct 2026
- CVE-2026-117535REDAXO before 5.21.3 Reflected XSS via opener_link in Media PoolMedium 5.1 27 Oct 2026
- CVE-2026-117534REDAXO before 5.21.3 CSRF in Article History PluginMedium 5.1 27 Oct 2026
References
- NVD https://nvd.nist.gov/vuln/detail/CVE-2026-21857
- CVE.org https://www.cve.org/CVERecord?id=CVE-2026-21857
- GitHub Advisory Database https://github.com/advisories/GHSA-824x-88xg-cwrv
- github.com https://github.com/redaxo/core/security/advisories/GHSA-824x-88xg-cwrv