{"answers":{"affected":"7 open source packages ship an affected version, including laravel/framework and laravel. It affects 1 product.","exploited":"There is no known exploitation of CVE-2025-27515 in the wild and no public exploit code.","fix":"Upgrade laravel/framework to a fixed version for your release line: 10.48.29, 11.44.1 or 12.1.1.","what":"CVE-2025-27515 is a medium-severity vulnerability in laravel framework, published on 5 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-27515 and fix it if it is affected.\n\nWhat it is: CVE-2025-27515 is a medium-severity vulnerability in laravel framework, published on 5 Mar 2025. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2025-27515 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- laravel/framework (Packagist): affected all versions; fixed in 10.48.29\n- laravel/framework (Packagist): affected all versions; fixed in 10.48.29\n- laravel/framework (Packagist): affected from 11.0.0; fixed in 11.44.1\n- laravel/framework (Packagist): affected from 11.0.0; fixed in 11.44.1\n- laravel/framework (Packagist): affected from 12.0.0; fixed in 12.1.1\n- laravel/framework (Packagist): affected from 12.0.0; fixed in 12.1.1\n- laravel (Bitnami): affected all versions; fixed in 12.2.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-27515/ (Markdown: https://insights.sbomify.com/CVE-2025-27515/index.md)","id":"CVE-2025-27515","markdown":"https://insights.sbomify.com/CVE-2025-27515/index.md","name":"CVE-2025-27515","record":{"aliases":["BIT-laravel-2025-27515","CLSA-2025-1761785337","CLSA-2025-1761785347","CLSA-2026-1779842936","CLSA-2026-1783558967","CLSA-2026-1784077493","DEBIAN-CVE-2025-27515","GHSA-78fx-h6xr-vch4","MINI-46wc-6x37-9hcf"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["security_bypass"],"network_reachable":"yes","non_default_config":false,"product_category":"Laravel web framework","requires_auth":"none","summary":"Attackers can bypass file validation rules in Laravel applications using wildcard validation, potentially uploading malicious files.","user_interaction":"not_required","vuln_class":"security_feature_bypass"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"framework","vendor":"laravel"}],"cvss":{"score":6.9,"severity":"medium","source":"cna","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N","version":"4.0"},"cwes":[{"id":"CWE-155","name":"Improper Neutralization of Wildcards or Matching Symbols"}],"description":"Laravel is a web application framework. When using wildcard validation to validate a given file or image field (`files.*`), a user-crafted malicious request could potentially bypass the validation rules. This vulnerability is fixed in 11.44.1 and 12.1.1.","ecosystems":["Bitnami","Packagist"],"exploits":{"exploitdb":0,"first_seen":"2025-12-30","github_poc":2,"max_poc_stars":2,"metasploit":0,"nuclei":0,"refs":[{"date":"2025-12-30T04:31:17Z","kind":"github_poc","ref":"https://github.com/joaovicdev/EXPLOIT-CVE-2025-27515","stars":2,"title":"PoC of CVE-2025-27515"},{"date":"2026-10-19T12:15:44Z","kind":"github_poc","ref":"https://github.com/Shanks2001/Progetto-sicurezza","stars":0,"title":"Penetration test white-box su un’app Laravel: analisi Cyber Kill Chain, RCE via file upload bypass (CVE-2025-27515), exfiltration e remediation."}],"tier":"poc_unverified"},"has_fix":true,"headline":"Laravel has a File Validation Bypass","id":"CVE-2025-27515","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Bitnami","product":null,"products":[],"type":"security_feature_bypass","year":"2025"},"n_packages":7,"n_references":2,"next":{"headline":"Jinja sandbox breakout through attr filter selecting format method","id":"CVE-2025-27516"},"packages":[{"ecosystem":"Bitnami","fixed":["12.2.0"],"introduced":["0"],"last_affected":[],"package":"laravel","purl":"pkg:bitnami/laravel","source":"BIT-laravel-2025-27515"},{"ecosystem":"Packagist","fixed":["10.48.29"],"introduced":["0"],"last_affected":[],"package":"laravel/framework","purl":null,"source":"GHSA-78fx-h6xr-vch4"},{"ecosystem":"Packagist","fixed":["10.48.29"],"introduced":["0"],"last_affected":[],"package":"laravel/framework","purl":"pkg:composer/laravel/framework","source":"GHSA-78fx-h6xr-vch4"},{"ecosystem":"Packagist","fixed":["11.44.1"],"introduced":["11.0.0"],"last_affected":[],"package":"laravel/framework","purl":null,"source":"GHSA-78fx-h6xr-vch4"},{"ecosystem":"Packagist","fixed":["11.44.1"],"introduced":["11.0.0"],"last_affected":[],"package":"laravel/framework","purl":"pkg:composer/laravel/framework","source":"GHSA-78fx-h6xr-vch4"},{"ecosystem":"Packagist","fixed":["12.1.1"],"introduced":["12.0.0"],"last_affected":[],"package":"laravel/framework","purl":null,"source":"GHSA-78fx-h6xr-vch4"},{"ecosystem":"Packagist","fixed":["12.1.1"],"introduced":["12.0.0"],"last_affected":[],"package":"laravel/framework","purl":"pkg:composer/laravel/framework","source":"GHSA-78fx-h6xr-vch4"}],"prev":{"headline":"GLPI is susceptible to Stored XSS attack through project's kanban","id":"CVE-2025-27514"},"products":["framework"],"published":"2025-03-05","related":[{"cvss_score":9.8,"headline":"File upload in n/a","id":"CVE-2021-43617","kev_date_added":null,"published":"2021-11-14"},{"cvss_score":8.8,"headline":"OS Command Injection in Laravel Framework","id":"CVE-2020-19316","kev_date_added":null,"published":"2021-12-20"},{"cvss_score":8.8,"headline":"SQL injection in n/a","id":"CVE-2018-6330","kev_date_added":null,"published":"2019-03-28"},{"cvss_score":8,"headline":"Laravel Reflected XSS via Request Parameter in Debug-Mode Error Page","id":"CVE-2024-13918","kev_date_added":null,"published":"2025-03-10"},{"cvss_score":8,"headline":"Laravel Reflected XSS via Route Parameter in Debug-Mode Error Page","id":"CVE-2024-13919","kev_date_added":null,"published":"2025-03-10"},{"cvss_score":5.3,"headline":"Information disclosure in n/a","id":"CVE-2022-40482","kev_date_added":null,"published":"2023-04-25"}],"sources":[{"class":"attribution","licence":"Apache-2.0","name":"Bitnami","prefix":"BIT"},{"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)"},{"class":"open","licence":"CC0","name":"PoC-in-GitHub"}],"ssvc":{"automatable":"yes","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2025-03-05","vendors":["laravel"]},"summary":"Attackers can bypass file validation rules in Laravel applications using wildcard validation, potentially uploading malicious files.","url":"https://insights.sbomify.com/CVE-2025-27515/"}