{"answers":{"affected":"","exploited":"There is no known exploitation of CVE-2026-7791 in the wild and no public exploit code.","fix":"No fix has been published for CVE-2026-7791 yet. Limit exposure of the affected software until one is available.","what":"CVE-2026-7791 is a high-severity vulnerability in Amazon Workspaces, published on 4 May 2026. It can only be exploited from the same machine or local network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2026-7791 and fix it if it is affected.\n\nWhat it is: CVE-2026-7791 is a high-severity vulnerability in Amazon Workspaces, published on 4 May 2026. It can only be exploited from the same machine or local network, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2026-7791 in the wild and no public exploit code.\n\nAffected product: Amazon Workspaces. 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-7791/ (Markdown: https://insights.sbomify.com/CVE-2026-7791/index.md)","id":"CVE-2026-7791","markdown":"https://insights.sbomify.com/CVE-2026-7791/index.md","name":"CVE-2026-7791","record":{"aliases":["GHSA-rp3m-v2vr-fvq8"],"analysis":{"component_type":"desktop_application","fix_type":"upgrade","impacts":["privilege_escalation"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"Amazon WorkSpaces client","requires_auth":"low_privilege","summary":"A local non-admin user can escalate privileges to SYSTEM by exploiting improper privilege management in the log rotation mechanism of Amazon WorkSpaces for Windows.","user_interaction":"not_required","vuln_class":"privilege_escalation"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"AMZN","cpe":[],"cvss":{"score":8.5,"severity":"high","source":"cna","vector":"CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N","version":"4.0"},"cwes":[{"id":"CWE-367","name":"Time-of-check Time-of-use (TOCTOU) Race Condition"}],"description":"Improper privilege management in the log rotation mechanism of the Skylight Workspace Config Service in Amazon WorkSpaces for Windows before 2.6.2034.0 allows a local non-admin authenticated user to place arbitrary files into arbitrary locations bypassing file system permission protections, leading to local privilege escalation to SYSTEM.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":"2026-05-24","github_poc":1,"max_poc_stars":1,"metasploit":0,"nuclei":0,"refs":[{"date":"2026-05-24T14:49:03Z","kind":"github_poc","ref":"https://github.com/BenZamir/CVE-2026-7791","stars":1,"title":"Local Privilege Escalation in Amazon WorkSpaces via TOCTOU and Arbitrary File Write"}],"tier":"poc_unverified"},"has_fix":null,"headline":"Local Privilege Escalation via TOCTOU Race Condition in Amazon WorkSpaces Skylight Agent","id":"CVE-2026-7791","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"privilege_escalation","year":"2026"},"n_packages":0,"n_references":1,"next":{"headline":"Missing authorization in WPForms – Easy Form Builder for WordPress – Contact Forms, Payment Forms, Surveys, \u0026 More","id":"CVE-2026-7792"},"packages":[],"prev":{"headline":"Unbounded chunk-size hex digits in cowlib cause quadratic CPU and memory DoS","id":"CVE-2026-7790"},"products":["Workspaces"],"published":"2026-05-04","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)"},{"class":"open","licence":"CC0","name":"PoC-in-GitHub"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"total"},"state":"PUBLISHED","updated":"2026-10-20","vendors":["Amazon"]},"summary":"A local non-admin user can escalate privileges to SYSTEM by exploiting improper privilege management in the log rotation mechanism of Amazon WorkSpaces for Windows.","url":"https://insights.sbomify.com/CVE-2026-7791/"}