{"answers":{"affected":"It affects 1 product.","exploited":"There is no known exploitation of CVE-2026-27895 in the wild and no public exploit code.","fix":"Upgrade to a fixed version.","what":"CVE-2026-27895 is a medium-severity vulnerability in LDAPAccountManager lam, published on 17 Mar 2026. Any signed-in user can exploit it over the network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2026-27895 and fix it if it is affected.\n\nWhat it is: CVE-2026-27895 is a medium-severity vulnerability in LDAPAccountManager lam, published on 17 Mar 2026. Any signed-in user can exploit it over the network, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2026-27895 in the wild and no public exploit code.\n\nAffected product: LDAPAccountManager lam. 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-27895/ (Markdown: https://insights.sbomify.com/CVE-2026-27895/index.md)","id":"CVE-2026-27895","markdown":"https://insights.sbomify.com/CVE-2026-27895/index.md","name":"CVE-2026-27895","record":{"aliases":["DEBIAN-CVE-2026-27895","UBUNTU-CVE-2026-27895"],"analysis":{"component_type":"web_application","fix_type":"upgrade","impacts":["code_execution"],"network_reachable":"yes","non_default_config":false,"product_category":"LDAP Account Manager","requires_auth":"low_privilege","summary":"An attacker can upload arbitrary files, including PHP scripts, to the PDF export component, leading to remote code execution as the web server user.","user_interaction":"not_required","vuln_class":"file_upload"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"ldap_account_manager","vendor":"ldap-account-manager"}],"cvss":{"score":4.3,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N","version":"3.1"},"cwes":[{"id":"CWE-185","name":"Incorrect Regular Expression"}],"description":"LDAP Account Manager (LAM) is a webfrontend for managing entries (e.g. users, groups, DHCP settings) stored in an LDAP directory. Prior to version 9.5, the PDF export component does not correctly validate uploaded file extensions. This way any file type (including .php files) can be uploaded. With GHSA-w7xq-vjr3-p9cf, an attacker can achieve remote code execution as the web server user. Version 9.5 fixes the issue. Although upgrading is recommended, a workaround would be to make /var/lib/ldap-account-manager/config read-only for the web-server user.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"LAM has incorrect regular expression in PDF export component that allows user to upload files of any type","id":"CVE-2026-27895","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"file_upload","year":"2026"},"n_packages":0,"n_references":3,"next":{"headline":"MCP Go SDK Vulnerable to Improper Handling of Case Sensitivity","id":"CVE-2026-27896"},"packages":[],"prev":{"headline":"LAM has Authenticated Local File Inclusion (LFI) in PDF export","id":"CVE-2026-27894"},"products":["lam"],"published":"2026-03-17","related":[{"cvss_score":8.8,"headline":"LAM has Authenticated Local File Inclusion (LFI) in PDF export","id":"CVE-2026-27894","kev_date_added":null,"published":"2026-03-17"},{"cvss_score":7.9,"headline":"LAM vulnerable to Authenticated Remote Code Execution","id":"CVE-2024-23333","kev_date_added":null,"published":"2024-03-18"},{"cvss_score":4.3,"headline":"Cross-site scripting in n/a","id":"CVE-2013-4453","kev_date_added":null,"published":"2013-11-05"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"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":"no","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-03-18","vendors":["LDAPAccountManager"]},"summary":"An attacker can upload arbitrary files, including PHP scripts, to the PDF export component, leading to remote code execution as the web server user.","url":"https://insights.sbomify.com/CVE-2026-27895/"}