← Vulnerability feed

Vulnerability record · CVE-2020-28949 · published 19 November 2020

CVE-2020-28949: PEAR Archive_Tar stream-wrapper filename sanitization bypass allows file write

Php · Archive Tar

Archive_Tar through 1.4.10 only sanitizes '://' filenames to block phar attacks, so other stream wrappers such as file:// still pass through and can overwrite files during archive extraction. Because Archive_Tar is bundled with PHP and used by projects like Drupal, the flaw affects a wide install base and enables arbitrary file write on the extracting host.

7.8 CVSS 3.1 High CISA KEV since 25 Aug 2022 EPSS 85% · top 0.3%
7.8CVSS 3.1 base score, v2 6.8
85%EPSS exploitation probability, 30 days
YesIn CISA KEV, fix deadline passed
4Affected product versions listed by NVD
25References, 4 tagged exploit
17 Jun 2026Last modified by NVD

Description

Archive_Tar through 1.4.10 has :// filename sanitization only to address phar attacks, and thus any other stream-wrapper attack (such as file:// to overwrite files) can still succeed.

CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Automated analysis

Generated by VULONE's analysis model from the NVD record, CISA KEV and EPSS data on 17 September 2026. Confidence: high.

high priorityThe flaw is in CISA KEV with public exploit code and a very high EPSS score, but exploitation requires the victim to process a malicious archive, which limits mass remote exploitation.

What it is

Archive_Tar through 1.4.10 only sanitizes '://' filenames to block phar attacks, so other stream wrappers such as file:// still pass through and can overwrite files during archive extraction. Because Archive_Tar is bundled with PHP and used by projects like Drupal, the flaw affects a wide install base and enables arbitrary file write on the extracting host.

Impact

An attacker who can supply a crafted tar archive can write files to attacker-chosen paths on the target system, which can lead to code execution or configuration tampering depending on what is overwritten.

Attack surface

Reached when an application extracts an untrusted tar archive with the vulnerable library; the CVSS vector requires user interaction (UI:R) and no privileges (PR:N), and the local vector reflects that the attacker's archive must be processed by the victim.

Exploitation

CVE-2020-28949 is listed in CISA KEV with a 2022-08-25 addition date, and EPSS gives a 30-day probability of 0.84554 (99.7th percentile); references are tagged Exploit, confirming public exploit material exists.

What to do

  • Upgrade Archive_Tar to a version after 1.4.10, or apply the vendor patch for your PHP, Debian, Fedora, Gentoo or Drupal distribution.
  • If immediate patching is not possible, avoid extracting untrusted tar archives with Archive_Tar and validate archive member names before extraction.
  • Restrict write permissions for the process that performs extraction so a successful write cannot reach sensitive paths.
  • Track the Drupal SA-CORE-2020-013 and distribution advisories to confirm all bundled copies of the library are updated.
  • Monitor for unexpected file creation or modification in web-accessible and configuration directories after archive processing.

Detection

  • Alert on file writes or modifications to web roots, configuration files or startup paths that occur shortly after tar extraction activity.
  • Search application and system logs for Archive_Tar extraction errors or warnings referencing unusual filenames or stream-wrapper prefixes.
  • Inventory hosts and containers for Archive_Tar versions at or below 1.4.10, including copies bundled inside PHP and Drupal installations.
  • Correlate outbound retrieval of tar archives with subsequent file system changes on the extracting host.

This assessment is produced automatically and is not human-reviewed. Verify against the vendor advisory before acting on it.

Exploitation in the wild

CISA added CVE-2020-28949 to the Known Exploited Vulnerabilities catalog on 25 August 2022 as "PEAR Archive_Tar Deserialization of Untrusted Data Vulnerability". Required action: Apply updates per vendor instructions. Federal deadline 15 September 2022.

Affected products

4 vulnerable configurations from NVD's CPE data, grouped by vendor and product.

References

LinkTags
http://packetstormsecurity.com/files/161095/PEAR-Archive_Tar-Arbitrary-File-Write.html ExploitThird Party AdvisoryVDB Entry
https://github.com/pear/Archive_Tar/issues/33 ExploitIssue TrackingVendor Advisory
https://lists.debian.org/debian-lts-announce/2020/11/msg00045.html Mailing ListThird Party Advisory
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/42GPGVVFTLJYAKRI75IVB5R Mailing ListThird Party Advisory
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/4V35LBRM6HBCXBVCITKQ4UE Mailing ListThird Party Advisory
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/5KSFM672XW3X6BR7TVKRD63 Mailing ListThird Party Advisory
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/KWM4CTMEGAC4I2CHYNJVSRO Mailing ListThird Party Advisory
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/NBYZSHYTIOBK6V7C4N7TP6K Mailing ListThird Party Advisory
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/VJQQYDAOWHD6RDITDRPHFW7 Mailing ListThird Party Advisory
https://security.gentoo.org/glsa/202101-23 Third Party Advisory
https://www.debian.org/security/2020/dsa-4817 Mailing ListThird Party Advisory
https://www.drupal.org/sa-core-2020-013 Third Party Advisory
http://packetstormsecurity.com/files/161095/PEAR-Archive_Tar-Arbitrary-File-Write.html ExploitThird Party AdvisoryVDB Entry
https://github.com/pear/Archive_Tar/issues/33 ExploitIssue TrackingVendor Advisory
https://lists.debian.org/debian-lts-announce/2020/11/msg00045.html Mailing ListThird Party Advisory
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/42GPGVVFTLJYAKRI75IVB5R Mailing ListThird Party Advisory
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/4V35LBRM6HBCXBVCITKQ4UE Mailing ListThird Party Advisory
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/5KSFM672XW3X6BR7TVKRD63 Mailing ListThird Party Advisory
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/KWM4CTMEGAC4I2CHYNJVSRO Mailing ListThird Party Advisory
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/NBYZSHYTIOBK6V7C4N7TP6K Mailing ListThird Party Advisory
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/VJQQYDAOWHD6RDITDRPHFW7 Mailing ListThird Party Advisory
https://security.gentoo.org/glsa/202101-23 Third Party Advisory
https://www.debian.org/security/2020/dsa-4817 Mailing ListThird Party Advisory
https://www.drupal.org/sa-core-2020-013 Third Party Advisory
https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2020-28949 US Government Resource

Track CVE-2020-28949 inside VULONE

Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.

Start free Open in platform

Related vulnerabilities

Same products first, then exploited flaws of the same weakness class.

10.0CVE-2025-32433Erlang/OTP SSH server missing authentication allows remote code executionErlang/OTP SSH servers before OTP-27.3.3, OTP-26.2.5.11 and OTP-25.3.2.20 mishandle SSH protocol messages, letting an unauthenticated attacker execut…KEVEPSS 99%analysed10.0CVE-2025-24201Apple WebKit out-of-bounds write allows sandbox escapeCVE-2025-24201 is an out-of-bounds write in Apple's WebKit that was addressed with improved checks. Maliciously crafted web content may break out of …KEVEPSS 3.8%analysed10.0CVE-2021-44228Apache Log4j2 JNDI lookup remote code executionApache Log4j2 versions 2.0-beta9 through 2.15.0 (excluding 2.12.2, 2.12.3, and 2.3.1) do not protect against attacker-controlled LDAP and other JNDI …KEVEPSS 100%analysed9.8CVE-2026-9082Drupal core SQL injection in unauthenticated request pathDrupal core contains a SQL injection flaw (CWE-89) caused by improper neutralization of special elements in SQL commands. It affects multiple core br…KEVEPSS 16%analysed9.8CVE-2026-24061GNU Inetutils telnetd argument injection allows remote auth bypasstelnetd in GNU Inetutils through 2.7 fails to sanitize the USER environment variable, so a value such as "-f root" is passed as an argument to login …KEVEPSS 99%analysed9.8CVE-2025-39682Linux kernel TLS zero-length record handling flaw on rx_listThe Linux kernel TLS receive path mishandles zero-length records that arrive from the rx_list, breaking the assumption that a record type change cann…KEVEPSS 2.9%analysed9.8CVE-2025-24813Apache Tomcat Default Servlet path equivalence enables RCE and file disclosureApache Tomcat mishandles path equivalence for names containing an internal dot, letting a remote unauthenticated attacker write files through the Def…KEVEPSS 100%analysed9.8CVE-2024-9680Mozilla Firefox and Thunderbird use-after-free in Animation timelinesA use-after-free flaw in Animation timelines allows an attacker to execute code in the content process of Firefox and Thunderbird. Mozilla reports ex…KEVEPSS 23%analysed

Source: NIST National Vulnerability Database (record CVE-2020-28949), CISA KEV, FIRST EPSS (scores of 2026-09-26). This page is refreshed as NVD updates the record.