{"answers":{"affected":"10 open source packages ship an affected version, including phpoffice/phpspreadsheet. It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-34084 exists.","fix":"Upgrade phpoffice/phpspreadsheet to a fixed version for your release line: 1.30.3, 2.1.15, 2.4.4 or 3.10.4.","what":"CVE-2026-34084 is a critical server-side request forgery vulnerability in PHPOffice PhpSpreadsheet, published on 5 May 2026. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2026-34084 and fix it if it is affected.\n\nWhat it is: CVE-2026-34084 is a critical server-side request forgery vulnerability in PHPOffice PhpSpreadsheet, published on 5 May 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-34084 exists.\n\nAffected packages and fixed versions:\n- phpoffice/phpspreadsheet (Packagist): affected all versions; fixed in 1.30.3\n- phpoffice/phpspreadsheet (Packagist): affected all versions; fixed in 1.30.3\n- phpoffice/phpspreadsheet (Packagist): affected from 2.0.0; fixed in 2.1.15\n- phpoffice/phpspreadsheet (Packagist): affected from 2.0.0; fixed in 2.1.15\n- phpoffice/phpspreadsheet (Packagist): affected from 2.2.0; fixed in 2.4.4\n- phpoffice/phpspreadsheet (Packagist): affected from 2.2.0; fixed in 2.4.4\n- phpoffice/phpspreadsheet (Packagist): affected from 3.3.0; fixed in 3.10.4\n- phpoffice/phpspreadsheet (Packagist): affected from 3.3.0; fixed in 3.10.4\n- phpoffice/phpspreadsheet (Packagist): affected from 4.0.0; fixed in 5.6.0\n- phpoffice/phpspreadsheet (Packagist): affected from 4.0.0; fixed in 5.6.0\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-34084/ (Markdown: https://insights.sbomify.com/CVE-2026-34084/index.md)","id":"CVE-2026-34084","markdown":"https://insights.sbomify.com/CVE-2026-34084/index.md","name":"CVE-2026-34084","record":{"aliases":["GHSA-q4q6-r8wh-5cgh"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["code_execution","data_read"],"network_reachable":"yes","non_default_config":false,"product_category":"PHP spreadsheet library","requires_auth":"none","summary":"Attackers can trigger SSRF or remote code execution via PHP stream wrappers when user-controlled filenames are passed to IOFactory::load.","user_interaction":"not_required","vuln_class":"ssrf"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"phpspreadsheet","vendor":"phpoffice"}],"cvss":{"score":9.2,"severity":"critical","source":"cna","vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N","version":"4.0"},"cwes":[{"id":"CWE-918","name":"Server-Side Request Forgery"},{"id":"CWE-502","name":"Deserialization of Untrusted Data"}],"description":"PhpSpreadsheet is a library for reading and writing spreadsheet files. In versions 1.30.2 and earlier, 2.0.0 through 2.1.14, 2.2.0 through 2.4.3, 3.3.0 through 3.10.3, and 4.0.0 through 5.5.0, when the filename argument to IOFactory::load() is user-controlled, an attacker can supply a PHP stream wrapper path (such as phar://, ftp://, or ssh2.sftp://) that passes the is_file() check in File::assertFile(). The phar:// wrapper triggers deserialization of the PHAR metadata, which can lead to remote code execution if a suitable gadget chain is available in the application. The ftp:// and ssh2.sftp:// wrappers can be used for server-side request forgery. This issue has been fixed in versions 1.30.3, 2.1.15, 2.4.4, 3.10.4, and 5.6.0.","ecosystems":["Packagist"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":true,"headline":"PhpSpreadsheet SSRF and RCE via PHP stream wrappers in IOFactory::load","id":"CVE-2026-34084","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Packagist","product":null,"products":[],"type":"ssrf","year":"2026"},"n_packages":10,"n_references":1,"next":{"headline":"Memory corruption in fontconfig","id":"CVE-2026-34085"},"packages":[{"ecosystem":"Packagist","fixed":["1.30.3"],"introduced":["0"],"last_affected":[],"package":"phpoffice/phpspreadsheet","purl":null,"source":"GHSA-q4q6-r8wh-5cgh"},{"ecosystem":"Packagist","fixed":["1.30.3"],"introduced":["0"],"last_affected":[],"package":"phpoffice/phpspreadsheet","purl":"pkg:composer/phpoffice/phpspreadsheet","source":"GHSA-q4q6-r8wh-5cgh"},{"ecosystem":"Packagist","fixed":["2.1.15"],"introduced":["2.0.0"],"last_affected":[],"package":"phpoffice/phpspreadsheet","purl":null,"source":"GHSA-q4q6-r8wh-5cgh"},{"ecosystem":"Packagist","fixed":["2.1.15"],"introduced":["2.0.0"],"last_affected":[],"package":"phpoffice/phpspreadsheet","purl":"pkg:composer/phpoffice/phpspreadsheet","source":"GHSA-q4q6-r8wh-5cgh"},{"ecosystem":"Packagist","fixed":["2.4.4"],"introduced":["2.2.0"],"last_affected":[],"package":"phpoffice/phpspreadsheet","purl":null,"source":"GHSA-q4q6-r8wh-5cgh"},{"ecosystem":"Packagist","fixed":["2.4.4"],"introduced":["2.2.0"],"last_affected":[],"package":"phpoffice/phpspreadsheet","purl":"pkg:composer/phpoffice/phpspreadsheet","source":"GHSA-q4q6-r8wh-5cgh"},{"ecosystem":"Packagist","fixed":["3.10.4"],"introduced":["3.3.0"],"last_affected":[],"package":"phpoffice/phpspreadsheet","purl":null,"source":"GHSA-q4q6-r8wh-5cgh"},{"ecosystem":"Packagist","fixed":["3.10.4"],"introduced":["3.3.0"],"last_affected":[],"package":"phpoffice/phpspreadsheet","purl":"pkg:composer/phpoffice/phpspreadsheet","source":"GHSA-q4q6-r8wh-5cgh"},{"ecosystem":"Packagist","fixed":["5.6.0"],"introduced":["4.0.0"],"last_affected":[],"package":"phpoffice/phpspreadsheet","purl":null,"source":"GHSA-q4q6-r8wh-5cgh"},{"ecosystem":"Packagist","fixed":["5.6.0"],"introduced":["4.0.0"],"last_affected":[],"package":"phpoffice/phpspreadsheet","purl":"pkg:composer/phpoffice/phpspreadsheet","source":"GHSA-q4q6-r8wh-5cgh"}],"prev":{"headline":"signalk-server: OAuth Authorization Code Theft via Unvalidated Host Header in OIDC Flow","id":"CVE-2026-34083"},"products":["PhpSpreadsheet"],"published":"2026-05-05","related":[{"cvss_score":8.8,"headline":"XML External Entity Reference (XXE) in PHPSpreadsheet","id":"CVE-2024-45048","kev_date_added":null,"published":"2024-08-28"},{"cvss_score":8.8,"headline":"XXE in PHPSpreadsheet due to incomplete fix for previous encoding issue","id":"CVE-2019-12331","kev_date_added":null,"published":"2019-11-07"},{"cvss_score":8.8,"headline":"XXE in PHPSpreadsheet due to encoding issue","id":"CVE-2018-19277","kev_date_added":null,"published":"2018-11-14"},{"cvss_score":8.3,"headline":"PhpSpreadsheet vulnerable to unauthorized reflected XSS in the constructor of the Downloader class","id":"CVE-2024-56365","kev_date_added":null,"published":"2025-01-03"},{"cvss_score":8.3,"headline":"PhpSpreadsheet vulnerable to unauthorized reflected XSS in the Accounting.php file","id":"CVE-2024-56366","kev_date_added":null,"published":"2025-01-03"},{"cvss_score":8.3,"headline":"PhpSpreadsheet allows unauthorized reflected XSS in `Convert-Online.php` file","id":"CVE-2024-56408","kev_date_added":null,"published":"2025-01-03"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"yes","exploitation":"poc","technical_impact":"total"},"state":"PUBLISHED","updated":"2026-05-05","vendors":["PHPOffice"]},"summary":"Attackers can trigger SSRF or remote code execution via PHP stream wrappers when user-controlled filenames are passed to IOFactory::load.","url":"https://insights.sbomify.com/CVE-2026-34084/"}