{"answers":{"affected":"It affects 1 product.","exploited":"There is no known exploitation of CVE-2026-5081 in the wild and no public exploit code.","fix":"No fix has been published for CVE-2026-5081 yet. Limit exposure of the affected software until one is available.","what":"CVE-2026-5081 is a critical vulnerability in CHORNY Apache::Session::Generate::ModUniqueId, published on 6 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-5081 and fix it if it is affected.\n\nWhat it is: CVE-2026-5081 is a critical vulnerability in CHORNY Apache::Session::Generate::ModUniqueId, published on 6 May 2026. 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-2026-5081 in the wild and no public exploit code.\n\nAffected product: CHORNY Apache::Session::Generate::ModUniqueId. 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-5081/ (Markdown: https://insights.sbomify.com/CVE-2026-5081/index.md)","id":"CVE-2026-5081","markdown":"https://insights.sbomify.com/CVE-2026-5081/index.md","name":"CVE-2026-5081","record":{"aliases":["DEBIAN-CVE-2026-5081","GHSA-546v-xqjf-qgcr","UBUNTU-CVE-2026-5081"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["account_takeover","security_bypass"],"network_reachable":"yes","non_default_config":false,"product_category":"Perl session library","requires_auth":"none","summary":"Insecure session ID generation in Apache::Session::Generate::ModUniqueId allows attackers to predict session IDs and hijack user sessions.","user_interaction":"not_required","vuln_class":"weak_cryptography"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"CPANSec","cpe":[{"product":"apache\\","vendor":"chorny"}],"cvss":{"score":9.1,"severity":"critical","source":"cisa-adp","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N","version":"3.1"},"cwes":[{"id":"CWE-341","name":"Predictable from Observable State"},{"id":"CWE-340","name":"Generation of Predictable Numbers or Identifiers"}],"description":"Apache::Session::Generate::ModUniqueId versions from 1.54 through 1.94 for Perl session ids are insecure.\n\nApache::Session::Generate::ModUniqueId (added in version 1.54) uses the value of the UNIQUE_ID environment variable for the session id. The UNIQUE_ID variable is set by the Apache mod_unique_id plugin, which generates unique ids for the request. The id is based on the IPv4 address, the process id, the epoch time, a 16-bit counter and a thread index, with no obfuscation.\n\nThe server IP is often available to the public, and if not available, can be guessed from previous session ids being issued. The process ids may also be guessed from previous session ids. The timestamp is easily guessed (and leaked in the HTTP Date response header).\n\nThe purpose of mod_unique_id is to assign a unique id to requests so that events can be correlated in different logs. The id is not designed, nor is it suitable for security purposes.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":false,"headline":"Apache::Session::Generate::ModUniqueId versions from 1.54 through 1.94 for Perl session ids are insecure","id":"CVE-2026-5081","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"weak_cryptography","year":"2026"},"n_packages":0,"n_references":2,"next":{"headline":"Amon2::Plugin::Web::CSRFDefender versions from 7.00 through 7.03 for Perl generate an insecure session id","id":"CVE-2026-5082"},"packages":[],"prev":{"headline":"Dancer::Session::Abstract versions through 1.3522 for Perl generates session ids insecurely","id":"CVE-2026-5080"},"products":["Apache::Session::Generate::ModUniqueId"],"published":"2026-05-06","related":[{"cvss_score":9.1,"headline":"Apache::Session versions through 1.94 for Perl re-creates deleted sessions","id":"CVE-2013-10075","kev_date_added":null,"published":"2026-05-08"},{"cvss_score":9.1,"headline":"Apache::Session::Generate::MD5 versions through 1.94 for Perl create insecure session id","id":"CVE-2025-40931","kev_date_added":null,"published":"2026-03-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":"yes","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-07-15","vendors":["CHORNY"]},"summary":"Insecure session ID generation in Apache::Session::Generate::ModUniqueId allows attackers to predict session IDs and hijack user sessions.","url":"https://insights.sbomify.com/CVE-2026-5081/"}