Redaxo has Path Traversal in Backup Addon Leading to Arbitrary File Read
REDAXO is a PHP-based content management system. Prior to version 5.20.2, 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. Version 5.20.2 fixes this issue.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2026-21857
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 3 Nov 2026, 08:27 UTC · Revision 1
Source evidence
Redaxo has Path Traversal in Backup Addon Leading to Arbitrary File Read
core-osv · Original sourcePublished 7 Jan 2026, 22:32 UTC
REDAXO is a PHP-based content management system. Prior to version 5.20.2, 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. Version 5.20.2 fixes this issue.
osv:CVE-2026-21857
Complete source record
{
"id": "c3e59a7169934cc4e754d89d91f0307904700368897984bef774c5497e4a8d0c",
"url": "https://osv.dev/vulnerability/CVE-2026-21857",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "Redaxo has Path Traversal in Backup Addon Leading to Arbitrary File Read",
"summary": "REDAXO is a PHP-based content management system. Prior to version 5.20.2, 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. Version 5.20.2 fixes this issue.",
"evidence": "osv:CVE-2026-21857",
"products": [],
"severity": "high",
"structured": {
"id": "CVE-2026-21857",
"aliases": [
"CVE-2026-21857",
"GHSA-824x-88xg-cwrv"
],
"metrics": [
{
"type": "CVSS_V4",
"score": "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"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/redaxo/core",
"type": "GIT",
"events": [
{
"introduced": "0"
},
{
"fixed": "ae554429f0f2a0291f6fab8623931e92c1b51d75"
}
],
"database_specific": {
"extracted_events": [
{
"range": [
{
"introduced": "0"
},
{
"fixed": "5.20.2"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StringRangeExpression"
},
{
"range": [
{
"fixed": "ae554429f0f2a0291f6fab8623931e92c1b51d75"
}
],
"source": "REFERENCES_TAG",
"original_tag": "5.20.2"
},
{
"cpe": "cpe:2.3:a:redaxo:redaxo:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "0"
},
{
"fixed": "5.20.2"
}
],
"source": "CPE_RANGE"
}
]
}
}
],
"versions": [
"5.20.1",
"5.20.0",
"5.19.0",
"5.18.3",
"5.18.2",
"5.18.1",
"5.18.0",
"5.17.1",
"5.17.0",
"5.16.1",
"5.16.0",
"5.16.0-beta1",
"5.15.0",
"5.15.0-beta1",
"5.14.1",
"5.14.0",
"5.14.0-beta2",
"5.14.0-beta1",
"5.13.2",
"5.13.1",
"5.13.0",
"5.13.0-beta2",
"5.13.0-beta1",
"5.12.0",
"5.12.0-beta3",
"5.12.0-beta2",
"5.12.0-beta1",
"5.11.0",
"5.11.0-beta1",
"5.10.0",
"5.10.0-beta2",
"5.10.0-beta1",
"5.9.0",
"5.9.0-beta2",
"5.9.0-beta1",
"5.8.0",
"5.8.0-beta1",
"5.7.0",
"5.7.0-beta3",
"5.7.0-beta2",
"5.7.0-beta1",
"5.6.1",
"5.6.0",
"5.6.0-beta1",
"5.5.1",
"5.5.0",
"5.5.0-beta1",
"5.4.0",
"5.4.0-beta2",
"5.4.0-beta1",
"5.3.0",
"5.2.0",
"5.2.0-beta1",
"5.1.0",
"5.0.1",
"5.0.0",
"5.0.0-rc",
"5.0.0-beta2",
"5.0.0-beta1",
"5.0.0-alpha7"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-21857.json"
}
}
],
"modified": "2026-10-28T02:30:27.273355613Z",
"provider": "osv",
"references": [
"https://github.com/redaxo/redaxo/releases/tag/5.20.2",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/21xxx/CVE-2026-21857.json",
"https://github.com/redaxo/redaxo/security/advisories/GHSA-824x-88xg-cwrv",
"https://nvd.nist.gov/vuln/detail/CVE-2026-21857"
],
"provider_metadata": {
"cwe_ids": [
"CWE-22",
"CWE-24"
],
"cna_assigner": "GitHub_M",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/21xxx/CVE-2026-21857.json"
}
},
"related_cves": [
{
"value": "CVE-2026-21857",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 493831,
"published_at": "2026-01-07T22:32:15.859+00:00"
}