{"id":"GO-2026-4905","revision":null,"records":[{"revision":"6c3fe1c3525c48caaf2f6fb1d26822af","observedAt":"2026-10-23T15:48:27.903+00:00","statement":{"source":"cve-program","id":"CVE-2026-27018","aliases":[],"title":"Gotenberg: Chromium deny-list bypass via case-insensitive URL scheme","description":"Gotenberg is an API for converting document formats. Prior to version 8.29.0, the fix introduced for CVE-2024-21527 can be bypassed using mixed-case or uppercase URL schemes. This issue has been patched in version 8.29.0.","state":0,"publishedAt":"2026-03-30T20:14:32.86+00:00","modifiedAt":"2026-03-31T14:16:20.913+00:00","affected":[{"ecosystem":"Vendor product","name":"gotenberg","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"vendor\": \"gotenberg\",\n                    \"product\": \"gotenberg\",\n                    \"versions\": [\n                        {\n                            \"version\": \"< 8.29.0\",\n                            \"status\": \"affected\"\n                        }\n                    ]\n                }"}],"metrics":[{"system":"CVSS 4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:L/VA:N/SC:N/SI:N/SA:N/E:P","score":7.8,"severity":"HIGH"}],"references":["https://github.com/gotenberg/gotenberg/security/advisories/GHSA-jjwv-57xh-xr6r","https://github.com/gotenberg/gotenberg/commit/06b2b2e10c52b58135edbfe82e94d599eb0c5a11","https://github.com/gotenberg/gotenberg/commit/8625a4e899eb75e6fcf46d28394334c7fd79fff5","https://github.com/gotenberg/gotenberg/releases/tag/v8.29.0"],"sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2026-27018","license":"CVE Program Terms of Use","key":"cve-program:CVE-2026-27018","identifiers":["CVE-2026-27018"]},"retained":false,"historicalAffected":[]},{"revision":"1d92c173c4f24bfa93f77b1b7344fcbd","observedAt":"2026-11-23T16:33:30.74+00:00","statement":{"source":"euvd","id":"EUVD-2026-17198","aliases":["CVE-2026-27018","GHSA-jjwv-57xh-xr6r"],"title":"Gotenberg is an API for converting document formats. Prior to version 8.29.0, the fix introduced for CVE-2024-21527 can be bypassed using mixed-case or uppercase URL schemes. This issue has been patched in version 8.29.0.","description":"Gotenberg is an API for converting document formats. Prior to version 8.29.0, the fix introduced for CVE-2024-21527 can be bypassed using mixed-case or uppercase URL schemes. This issue has been patched in version 8.29.0.","state":0,"publishedAt":null,"modifiedAt":null,"affected":[],"metrics":[{"system":"EUVD CVSS 4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:L/VA:N/SC:N/SI:N/SA:N/E:P","score":7.8,"severity":null}],"references":["https://github.com/gotenberg/gotenberg/security/advisories/GHSA-jjwv-57xh-xr6r","https://github.com/gotenberg/gotenberg/commit/06b2b2e10c52b58135edbfe82e94d599eb0c5a11","https://github.com/gotenberg/gotenberg/commit/8625a4e899eb75e6fcf46d28394334c7fd79fff5","https://github.com/gotenberg/gotenberg/releases/tag/v8.29.0"],"sourceUrl":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-17198","license":"ENISA EUVD · source terms and attribution apply","enrichment":{"sourceStatus":null,"weaknesses":[],"productCriteria":[],"sourceDates":{"datePublished":"Mar 30, 2026, 8:14:32 PM","dateUpdated":"Mar 31, 2026, 2:16:20 PM"},"relatedAdvisories":[],"note":"EUVD source date text has no stated timezone and is retained without inventing a UTC instant. Related bulletin membership is not an alias, common cause or applicability claim. A missing vector with a zero score is treated as unrated. Complete vendor/product and underlying source evidence remains in the original JSON."},"key":"euvd:EUVD-2026-17198","identifiers":["EUVD-2026-17198","CVE-2026-27018","GHSA-jjwv-57xh-xr6r"]},"retained":false,"historicalAffected":[]},{"revision":"7e79e50253f54fbeb27ccb45295f54db","observedAt":"2026-10-25T06:17:28.833+00:00","statement":{"source":"nvd","id":"CVE-2026-27018","aliases":[],"title":"Gotenberg is an API for converting document formats. Prior to version 8.29.0, the fix introduced for CVE-2024-21527 can be bypassed using mixed-case or uppercase URL schemes. This issue has been patched in version 8.29.0.","description":"Gotenberg is an API for converting document formats. Prior to version 8.29.0, the fix introduced for CVE-2024-21527 can be bypassed using mixed-case or uppercase URL schemes. This issue has been patched in version 8.29.0.","state":0,"publishedAt":"2026-03-30T21:17:08.383+00:00","modifiedAt":"2026-06-17T10:26:32.693+00:00","affected":[],"metrics":[{"system":"CVSS 4.0 · security-advisories@github.com · Secondary","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:L/VA:N/SC:N/SI:N/SA:N/E:P/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","score":7.8,"severity":"HIGH"},{"system":"CVSS 3.1 · nvd@nist.gov · Primary","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","score":7.5,"severity":"HIGH"}],"references":["https://github.com/gotenberg/gotenberg/commit/06b2b2e10c52b58135edbfe82e94d599eb0c5a11","https://github.com/gotenberg/gotenberg/commit/8625a4e899eb75e6fcf46d28394334c7fd79fff5","https://github.com/gotenberg/gotenberg/releases/tag/v8.29.0","https://github.com/gotenberg/gotenberg/security/advisories/GHSA-jjwv-57xh-xr6r"],"sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2026-27018","license":"NIST NVD usage terms; underlying source attribution retained","enrichment":{"sourceStatus":"Analyzed","weaknesses":["CWE-22","CWE-918"],"productCriteria":["cpe:2.3:a:thecodingmachine:gotenberg:*:*:*:*:*:*:*:*"],"sourceDates":{"published":"2026-03-30T21:17:08.383","lastModified":"2026-06-17T10:26:32.693"},"relatedAdvisories":[],"note":"NVD analysis and CPE criteria are source context, not proof that a package or your environment is affected. Complete affected data, logical configurations and SSVC are retained in the original JSON."},"key":"nvd:CVE-2026-27018","identifiers":["CVE-2026-27018"]},"retained":false,"historicalAffected":[]},{"revision":"c4cf275aecb4483db533a17a4c1a46b5","observedAt":"2026-10-24T13:19:41.952+00:00","statement":{"source":"osv","id":"GHSA-jjwv-57xh-xr6r","aliases":["CVE-2026-27018","GO-2026-4905"],"title":"Gotenberg has Chromium deny-list bypass via case-insensitive URL scheme (bypass of GHSA-rh2x-ccvw-q7r3)","description":"### Impact\n\nThe fix introduced in version 8.1.0 for GHSA-rh2x-ccvw-q7r3 (CVE-2024-21527) can be bypassed using mixed-case or uppercase URL schemes.\n\nThe default `--chromium-deny-list` value is `^file:(?!//\\/tmp/).*`. This regex is anchored to lowercase `file:` at the start. However, per RFC 3986 Section 3.1, URI schemes are case-insensitive. Chromium normalizes the scheme to lowercase before navigation, so a URL like `FILE:///etc/passwd` or `File:///etc/passwd` bypasses the deny-list check but still gets resolved by Chromium as `file:///etc/passwd`.\n\nThe root cause is in `pkg/gotenberg/filter.go` — the `FilterDeadline` function compiles the deny-list regex with `regexp2.MustCompile(denied.String(), 0)`, where `0` means no flags (case-sensitive). Since the regex pattern itself doesn't include a `(?i)` flag, matching is strictly case-sensitive.\n\nThis affects both the URL endpoint and HTML conversion (via iframes, link tags, etc.).\n\n### Steps to Reproduce\n\n1. Start Gotenberg with default settings:\n\n```bash\ndocker run --rm -p 3000:3000 gotenberg/gotenberg:8.26.0 gotenberg\n```\n\n2. Read `/etc/passwd` via the URL endpoint using an uppercase scheme:\n\n```bash\ncurl -X POST 'http://localhost:3000/forms/chromium/convert/url' \\\n  --form 'url=FILE:///etc/passwd' -o output.pdf\n```\n\n3. Open `output.pdf` — it contains the contents of `/etc/passwd`.\n\n4. Alternatively, create an `index.html`:\n\n```html\n<iframe src=\"FILE:///etc/passwd\" width=\"100%\" height=\"100%\"></iframe>\n```\n\nThen convert it:\n\n```bash\ncurl -X POST 'http://localhost:3000/forms/chromium/convert/html' \\\n  -F 'files=@index.html' -o output.pdf\n```\n\n5. The resulting PDF contains `/etc/passwd` contents.\n\nMixed-case variants like `File:`, `fILE:`, `fiLE:` etc. all work as well.\n\n### Root Cause\n\n- `pkg/modules/chromium/chromium.go` defines the default deny-list as `^file:(?!//\\/tmp/).*`\n- `pkg/gotenberg/filter.go` compiles this with `regexp2.MustCompile(denied.String(), 0)` — flag `0` means case-sensitive\n- `pkg/modules/chromium/events.go` uses `FilterDeadline` to check intercepted request URLs against the deny-list\n- Chromium normalizes URL schemes to lowercase, so `FILE:///etc/passwd` becomes `file:///etc/passwd` after the deny-list check has already passed\n\n### Suggested Fix\n\nChange the default deny-list regex to use a case-insensitive flag:\n\n```\n(?i)^file:(?!//\\/tmp/).*\n```\n\nOr apply case-insensitive matching in `FilterDeadline` when compiling the regex.\n\n### Severity\n\nThis is effectively the same impact as CVE-2024-21527 — unauthenticated arbitrary file read from the Gotenberg container. An attacker can leak environment variables, configuration, credentials, and other sensitive data.","state":0,"publishedAt":"2026-03-30T16:16:07+00:00","modifiedAt":"2026-07-08T08:29:24.7415707+00:00","affected":[{"ecosystem":"Go","name":"github.com/gotenberg/gotenberg/v8","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0"},{"kind":"fixed","version":"8.29.0"}]}],"versions":[],"rawVersionEvidence":null},{"ecosystem":"Go","name":"github.com/gotenberg/gotenberg/v7","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0"},{"kind":"last_affected","version":"7.10.2"}]}],"versions":[],"rawVersionEvidence":null}],"metrics":[{"system":"CVSS_V4","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:L/VA:N/SC:N/SI:N/SA:N/E:P","score":null,"severity":null},{"system":"Publisher rating","vector":null,"score":null,"severity":"HIGH"}],"references":["https://github.com/gotenberg/gotenberg/security/advisories/GHSA-jjwv-57xh-xr6r","https://github.com/gotenberg/gotenberg/security/advisories/GHSA-rh2x-ccvw-q7r3","https://nvd.nist.gov/vuln/detail/CVE-2026-27018","https://github.com/gotenberg/gotenberg/commit/06b2b2e10c52b58135edbfe82e94d599eb0c5a11","https://github.com/gotenberg/gotenberg/commit/8625a4e899eb75e6fcf46d28394334c7fd79fff5","https://github.com/gotenberg/gotenberg","https://github.com/gotenberg/gotenberg/releases/tag/v8.29.0"],"sourceUrl":"https://github.com/advisories/GHSA-jjwv-57xh-xr6r","license":"GitHub Advisory Database · CC-BY-4.0","key":"osv:GHSA-jjwv-57xh-xr6r","identifiers":["GHSA-jjwv-57xh-xr6r","CVE-2026-27018","GO-2026-4905"]},"retained":false,"historicalAffected":[]},{"revision":"c2af0f855b3a4940a766594b8f828317","observedAt":"2026-10-24T13:19:41.952+00:00","statement":{"source":"osv","id":"GO-2026-4905","aliases":["CVE-2026-27018","GHSA-jjwv-57xh-xr6r"],"title":"Gotenberg has Chromium deny-list bypass via case-insensitive URL scheme (bypass of GHSA-rh2x-ccvw-q7r3) in github.com/gotenberg/gotenberg","description":"Gotenberg has Chromium deny-list bypass via case-insensitive URL scheme (bypass of GHSA-rh2x-ccvw-q7r3) in github.com/gotenberg/gotenberg","state":0,"publishedAt":"2026-04-02T18:42:30+00:00","modifiedAt":"2026-04-02T21:20:07.137918+00:00","affected":[{"ecosystem":"Go","name":"github.com/gotenberg/gotenberg/v7","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0"}]}],"versions":[],"rawVersionEvidence":null},{"ecosystem":"Go","name":"github.com/gotenberg/gotenberg/v8","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0"},{"kind":"fixed","version":"8.29.0"}]}],"versions":[],"rawVersionEvidence":null}],"metrics":[],"references":["https://github.com/gotenberg/gotenberg/security/advisories/GHSA-jjwv-57xh-xr6r","https://github.com/gotenberg/gotenberg/commit/06b2b2e10c52b58135edbfe82e94d599eb0c5a11","https://github.com/gotenberg/gotenberg/commit/8625a4e899eb75e6fcf46d28394334c7fd79fff5","https://github.com/gotenberg/gotenberg/releases/tag/v8.29.0","https://github.com/gotenberg/gotenberg/security/advisories/GHSA-rh2x-ccvw-q7r3"],"sourceUrl":"https://osv.dev/vulnerability/GO-2026-4905","license":"OSV · upstream source license applies","key":"osv:GO-2026-4905","identifiers":["GO-2026-4905","CVE-2026-27018","GHSA-jjwv-57xh-xr6r"]},"retained":false,"historicalAffected":[]}],"coverage":[{"source":"cisa-kev:global","scope":"Complete CISA KEV catalog; all vendors. Missing entries do not establish absence of exploitation.","generation":"2026-11-25T10:47:30.2236653+00:00","complete":true,"records":1795,"lastAttemptAt":"2026-11-25T10:47:30.2236653+00:00","lastSuccessAt":"2026-11-25T10:47:30.4731581+00:00","error":null,"lastVerifiedAt":"2026-11-25T10:47:30.4731593+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"cve-program","scope":"Official CVE Program baseline and cumulative hourly delta; all vendors, published and rejected records","generation":"cve-8d356adab43082cb10bb7c033ed58312cf2ad2f0fb10e0afdf27fc89fa361f3b-eb33a37fae804496f103cb3c711c068eaf73ae5b7f2fc145db563dd9569d6d54","complete":true,"records":432073,"lastAttemptAt":"2026-11-25T10:44:59.7922852+00:00","lastSuccessAt":"2026-11-25T10:44:59.623386+00:00","error":null,"lastVerifiedAt":"2026-11-25T10:44:59.7922852+00:00","snapshotPublishedAt":"2026-11-25T10:30:26+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"euvd","scope":"Rolling EUVD lookups of CVE aliases in current public OSV archives; 500 identifiers per refresh, rechecked after 48 hours. Not a global EUVD catalog. Successful not-found lookups count as checked; they do not imply withdrawal or safety. No reader inventory is sent.","generation":"enrichment-64340dec61194e008a5f85a646ed6b46","complete":false,"records":13938,"lastAttemptAt":"2026-11-25T10:56:47.6350503+00:00","lastSuccessAt":"2026-11-25T10:56:47.63+00:00","error":"137 identifier lookups failed; latest failures include AccessDenied (HTTP 403). Other identifiers were checked independently.","lastVerifiedAt":"2026-11-25T10:56:47.63+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":13830,"expectedIdentifiers":13986,"failedIdentifiers":137},{"source":"first-epss:nuget","scope":"FIRST EPSS for explicit CVE aliases in the collected public NuGet archive. Not a global EPSS backfill.","generation":"2026-11-25T10:47:30.2236653+00:00","complete":true,"records":1131,"lastAttemptAt":"2026-11-25T10:47:30.2236653+00:00","lastSuccessAt":"2026-11-25T10:47:30.4912384+00:00","error":null,"lastVerifiedAt":"2026-11-25T10:47:30.4912398+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"nvd","scope":"Rolling NVD lookups of CVE aliases in current public OSV archives; 500 identifiers per refresh, rechecked after 48 hours. Not a global NVD catalog. Successful not-found lookups count as checked; they do not imply withdrawal or safety. No reader inventory is sent.","generation":"enrichment-23f474d106184d03ba6ae4f1b9844075","complete":true,"records":13950,"lastAttemptAt":"2026-11-25T10:47:32.1172209+00:00","lastSuccessAt":"2026-11-25T10:47:32.113+00:00","error":null,"lastVerifiedAt":"2026-11-25T10:47:32.113+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":13986,"expectedIdentifiers":13986,"failedIdentifiers":0},{"source":"osv:Go","scope":"Complete OSV Go ecosystem archive, including withdrawn and malicious-package source records; statement counts are not unique CVE counts","generation":"go-e743412268199d418c20ac5ea5d5eefbef4a1c78fcbacada525fcf2201b41d4a","complete":true,"records":10077,"lastAttemptAt":"2026-11-25T10:47:30.0581538+00:00","lastSuccessAt":"2026-11-24T23:11:09.9983084+00:00","error":null,"lastVerifiedAt":"2026-11-25T10:47:30.0581538+00:00","snapshotPublishedAt":"2026-11-24T22:48:13+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"osv:NuGet","scope":"Complete OSV NuGet ecosystem archive, including GitHub Advisory Database records; NuGet version matching only","generation":"nuget-6ba2352decd0c95d34a1b50f642582aa34659ce946f552488f0a5cea4e0cc09a","complete":true,"records":2020,"lastAttemptAt":"2026-11-25T10:45:01.0073572+00:00","lastSuccessAt":"2026-11-20T15:46:15.4249619+00:00","error":null,"lastVerifiedAt":"2026-11-25T10:45:01.0073572+00:00","snapshotPublishedAt":"2026-11-20T14:48:20+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"osv:crates.io","scope":"Complete OSV crates.io ecosystem archive, including withdrawn and malicious-package source records; statement counts are not unique CVE counts","generation":"crates.io-40938cbac3e2265a24e0d129a60138a855ec8a44cbd619ad6c0de0b22c0e253f","complete":true,"records":3221,"lastAttemptAt":"2026-11-25T10:47:30.1652942+00:00","lastSuccessAt":"2026-11-24T22:27:06.1844325+00:00","error":null,"lastVerifiedAt":"2026-11-25T10:47:30.1652942+00:00","snapshotPublishedAt":"2026-11-24T22:03:27+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"osv:npm","scope":"Complete OSV npm ecosystem archive, including withdrawn and malicious-package source records; statement counts are not unique CVE counts","generation":"npm-6e5d85045a345af6d44ad78142d454d21ba8c2b270e694c2418444b295e2f9e6","complete":true,"records":233124,"lastAttemptAt":"2026-11-25T10:47:29.9128061+00:00","lastSuccessAt":"2026-11-25T10:47:28.4616168+00:00","error":null,"lastVerifiedAt":"2026-11-25T10:47:29.9128061+00:00","snapshotPublishedAt":"2026-11-25T10:33:22+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null}]}