{"answers":{"affected":"","exploited":"There is no known exploitation of CVE-2026-119193 in the wild and no public exploit code.","fix":"No fix has been published for CVE-2026-119193 yet. Limit exposure of the affected software until one is available.","what":"CVE-2026-119193 is a medium-severity vulnerability in sebastianbergmann phpunit, published on 29 Oct 2026."},"fix_prompt":"Check this codebase for CVE-2026-119193 and fix it if it is affected.\n\nWhat it is: CVE-2026-119193 is a medium-severity vulnerability in sebastianbergmann phpunit, published on 29 Oct 2026. \nExploitation: There is no known exploitation of CVE-2026-119193 in the wild and no public exploit code.\n\nAffected product: sebastianbergmann phpunit. No package-level version data is available, so check the vendor advisory linked from the reference page.\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-119193/ (Markdown: https://insights.sbomify.com/CVE-2026-119193/index.md)","id":"CVE-2026-119193","markdown":"https://insights.sbomify.com/CVE-2026-119193/index.md","name":"CVE-2026-119193","record":{"aliases":[],"analysis":null,"analysis_generated_by":null,"assigner":"GitHub_M","cpe":[],"cvss":{"score":5.4,"severity":"medium","source":"cna","vector":"CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N","version":"4.0"},"cwes":[{"id":"CWE-379","name":"Creation of Temporary File in Directory with Insecure Permissions"}],"description":"PHPUnit is a testing framework for PHP. From 13.4.0 until 13.4.4, the TestCase::coverageFilesDirectory() logic in src/Runner/Phpt/TestCase.php creates temporary files for PHPT code coverage in a predictable phpunit-phpt directory under sys_get_temp_dir() and reuses that directory without verifying its ownership or permissions. On multi-user systems with a shared temporary path, a local attacker who creates the directory before the developer runs PHPT tests with code coverage can replace the generated job file before the child process executes it with require, allowing arbitrary code execution with the developer's privileges while the test and coverage report appear successful. PHPUnit 12.5 and earlier, default macOS and Windows configurations with per-user temporary directories, and single-user environments where another user cannot create files in the temporary path are not affected. This issue is fixed in 13.4.4.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":null,"headline":"PHPUnit vulnerable to code execution by other local users via shared temporary directory in PHPT code coverage handling","id":"CVE-2026-119193","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":null,"year":"2026"},"n_packages":0,"n_references":3,"next":{"headline":"pyasn1: Quadratic CPU use in schemaless BER/CER/DER container decoding","id":"CVE-2026-119194"},"packages":[],"prev":{"headline":"Forge: ASN.1 resource exhaustion via BIT STRING decoding in asn1.fromDer","id":"CVE-2026-119191"},"products":["phpunit"],"published":"2026-10-29","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2026-10-29","vendors":["sebastianbergmann"]},"summary":null,"url":"https://insights.sbomify.com/CVE-2026-119193/"}