{"answers":{"affected":"4 open source packages ship an affected version, including github.com/gotenberg/gotenberg/v8 and github.com/gotenberg/gotenberg/v7.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-45742 exists.","fix":"Upgrade github.com/gotenberg/gotenberg/v8 to 8.33.0 or later.","what":"CVE-2026-45742 is a high-severity vulnerability in gotenberg, published on 19 Aug 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-45742 and fix it if it is affected.\n\nWhat it is: CVE-2026-45742 is a high-severity vulnerability in gotenberg, published on 19 Aug 2026. 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-2026-45742 exists.\n\nAffected packages and fixed versions:\n- github.com/gotenberg/gotenberg/v8 (Go): affected from 8.10.0; fixed in 8.33.0\n- github.com/gotenberg/gotenberg/v8 (Go): affected from 8.10.0; fixed in 8.33.0\n- github.com/gotenberg/gotenberg/v8 (Go): affected from 8.10.0; fixed in 8.33.0\n- github.com/gotenberg/gotenberg/v7 (Go): affected all versions; no fix listed\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-45742/ (Markdown: https://insights.sbomify.com/CVE-2026-45742/index.md)","id":"CVE-2026-45742","markdown":"https://insights.sbomify.com/CVE-2026-45742/index.md","name":"CVE-2026-45742","record":{"aliases":["GHSA-vp73-vjw8-8f32","GO-2026-5669"],"analysis":{"component_type":"server_software","fix_type":"upgrade","impacts":["denial_of_service"],"network_reachable":"yes","non_default_config":false,"product_category":"PDF conversion API","requires_auth":"none","summary":"An unauthenticated remote attacker can crash the Gotenberg PDF conversion service by triggering a race condition in concurrent file processing.","user_interaction":"not_required","vuln_class":"race_condition"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[],"cvss":{"score":7.5,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","version":"3.1"},"cwes":[{"id":"CWE-362","name":"Concurrent Execution using Shared Resource with Improper Synchronization"}],"description":"Gotenberg is a Docker-powered stateless API for PDF files. From 8.10.0 until 8.33.0, the newContext function in pkg/modules/api/context.go starts one errgroup.Go goroutine for each multipart downloadFrom entry and allows those goroutines to concurrently write to the shared ctx.files, ctx.diskToOriginal, and ctx.filesByField maps and slices. Go maps and slices are not safe for concurrent mutation, so a crafted multipart request containing many downloadFrom entries can trigger a data race and terminate the process with a fatal concurrent map writes runtime error. The default configuration enables downloadFrom and disables authentication, allowing an unauthenticated remote attacker to crash an exposed conversion service and cause a denial of service. This issue is fixed in version 8.33.0.","ecosystems":["Go"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":true,"headline":"Gotenberg: Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition')","id":"CVE-2026-45742","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Go","product":null,"products":[],"type":"race_condition","year":"2026"},"n_packages":4,"n_references":3,"next":{"headline":"Termix has a File-Manager Session Hijack via Missing Ownership Check (IDOR)","id":"CVE-2026-45743"},"packages":[{"ecosystem":"Go","fixed":[],"introduced":["0"],"last_affected":[],"package":"github.com/gotenberg/gotenberg/v7","purl":"pkg:golang/github.com/gotenberg/gotenberg/v7","source":"GO-2026-5669"},{"ecosystem":"Go","fixed":["8.33.0"],"introduced":["8.10.0"],"last_affected":[],"package":"github.com/gotenberg/gotenberg/v8","purl":null,"source":"GHSA-vp73-vjw8-8f32"},{"ecosystem":"Go","fixed":["8.33.0"],"introduced":["8.10.0"],"last_affected":[],"package":"github.com/gotenberg/gotenberg/v8","purl":"pkg:golang/github.com/gotenberg/gotenberg/v8","source":"GHSA-vp73-vjw8-8f32"},{"ecosystem":"Go","fixed":["8.33.0"],"introduced":["8.10.0"],"last_affected":[],"package":"github.com/gotenberg/gotenberg/v8","purl":"pkg:golang/github.com/gotenberg/gotenberg/v8","source":"GO-2026-5669"}],"prev":{"headline":"Gotenberg: SSRF deny-list bypass in IsPublicIP via IPv6 6to4 / NAT64 / site-local prefixes","id":"CVE-2026-45741"},"products":["gotenberg"],"published":"2026-08-19","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":"CC BY 4.0","name":"Go Vulnerability Database","prefix":"GO"},{"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":"2026-08-19","vendors":["gotenberg"]},"summary":"An unauthenticated remote attacker can crash the Gotenberg PDF conversion service by triggering a race condition in concurrent file processing.","url":"https://insights.sbomify.com/CVE-2026-45742/"}