{"answers":{"affected":"6 open source packages ship an affected version, including simplesamlphp/saml2 and simplesamlphp/saml2-legacy.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-27773 exists.","fix":"Upgrade simplesamlphp/saml2 to a fixed version for your release line: 4.17.0 or 5.0.0-alpha.20.","what":"CVE-2025-27773 is a high-severity authentication bypass vulnerability in simplesamlphp saml2, published on 11 Mar 2025. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2025-27773 and fix it if it is affected.\n\nWhat it is: CVE-2025-27773 is a high-severity authentication bypass vulnerability in simplesamlphp saml2, published on 11 Mar 2025. 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-2025-27773 exists.\n\nAffected packages and fixed versions:\n- simplesamlphp/saml2 (Packagist): affected all versions; fixed in 4.17.0\n- simplesamlphp/saml2 (Packagist): affected all versions; fixed in 4.17.0\n- simplesamlphp/saml2 (Packagist): affected from 5.0.0-alpha.1; fixed in 5.0.0-alpha.20\n- simplesamlphp/saml2 (Packagist): affected from 5.0.0-alpha.1; fixed in 5.0.0-alpha.20\n- simplesamlphp/saml2-legacy (Packagist): affected all versions; fixed in 4.17.0\n- simplesamlphp/saml2-legacy (Packagist): affected all versions; fixed in 4.17.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-2025-27773/ (Markdown: https://insights.sbomify.com/CVE-2025-27773/index.md)","id":"CVE-2025-27773","markdown":"https://insights.sbomify.com/CVE-2025-27773/index.md","name":"CVE-2025-27773","record":{"aliases":["DEBIAN-CVE-2025-27773","DLA-4161-1","GHSA-46r4-f8gj-xg56","UBUNTU-CVE-2025-27773"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["security_bypass"],"network_reachable":"yes","non_default_config":false,"product_category":"SAML2 PHP library","requires_auth":"none","summary":"Attackers can bypass SAML signature verification in HTTP-Redirect binding, allowing acceptance of unsigned messages and potential authentication bypass.","user_interaction":"not_required","vuln_class":"auth_bypass"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[],"cvss":{"score":8.6,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:H/A:N","version":"3.1"},"cwes":[{"id":"CWE-347","name":"Improper Verification of Cryptographic Signature"}],"description":"The SimpleSAMLphp SAML2 library is a PHP library for SAML2 related functionality. Prior to versions 4.17.0 and 5.0.0-alpha.20, there is a signature confusion attack in the HTTPRedirect binding. An attacker with any signed SAMLResponse via the HTTP-Redirect binding can cause the application to accept an unsigned message. Versions 4.17.0 and 5.0.0-alpha.20 contain a fix for the issue.","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":"SimpleSAMLphp SAML2 library has incorrect signature verification for HTTP-Redirect binding","id":"CVE-2025-27773","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Packagist","product":null,"products":[],"type":"auth_bypass","year":"2025"},"n_packages":6,"n_references":4,"next":{"headline":"Applio allows SSRF and file write in model_download.py","id":"CVE-2025-27774"},"packages":[{"ecosystem":"Packagist","fixed":["4.17.0"],"introduced":["0"],"last_affected":[],"package":"simplesamlphp/saml2","purl":null,"source":"GHSA-46r4-f8gj-xg56"},{"ecosystem":"Packagist","fixed":["4.17.0"],"introduced":["0"],"last_affected":[],"package":"simplesamlphp/saml2","purl":"pkg:composer/simplesamlphp/saml2","source":"GHSA-46r4-f8gj-xg56"},{"ecosystem":"Packagist","fixed":["5.0.0-alpha.20"],"introduced":["5.0.0-alpha.1"],"last_affected":[],"package":"simplesamlphp/saml2","purl":null,"source":"GHSA-46r4-f8gj-xg56"},{"ecosystem":"Packagist","fixed":["5.0.0-alpha.20"],"introduced":["5.0.0-alpha.1"],"last_affected":[],"package":"simplesamlphp/saml2","purl":"pkg:composer/simplesamlphp/saml2","source":"GHSA-46r4-f8gj-xg56"},{"ecosystem":"Packagist","fixed":["4.17.0"],"introduced":["0"],"last_affected":[],"package":"simplesamlphp/saml2-legacy","purl":null,"source":"GHSA-46r4-f8gj-xg56"},{"ecosystem":"Packagist","fixed":["4.17.0"],"introduced":["0"],"last_affected":[],"package":"simplesamlphp/saml2-legacy","purl":"pkg:composer/simplesamlphp/saml2-legacy","source":"GHSA-46r4-f8gj-xg56"}],"prev":{"headline":"Uptrain vulnerable to remote code execution via `/new_run` endpoint","id":"CVE-2025-27772"},"products":["saml2"],"published":"2025-03-11","related":[],"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":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"yes","exploitation":"poc","technical_impact":"partial"},"state":"PUBLISHED","updated":"2025-05-09","vendors":["simplesamlphp"]},"summary":"Attackers can bypass SAML signature verification in HTTP-Redirect binding, allowing acceptance of unsigned messages and potential authentication bypass.","url":"https://insights.sbomify.com/CVE-2025-27773/"}