Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
  • Search
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

Cloudron Forum

Offical apps | Community apps | Demo | Docs | Install
  1. Cloudron Forum
  2. Security
  3. Ghostscript CVE-2026-125396 ("Upload2Shell") – please update Paperless-ngx package

Ghostscript CVE-2026-125396 ("Upload2Shell") – please update Paperless-ngx package

Scheduled Pinned Locked Moved Security
2 Posts 2 Posters 60 Views 2 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • J
    J
    jkammerer
    wrote last edited by
    #1

    See https://www.heise.de/news/Upload2Shell-Ghostscript-Luecke-betrifft-viele-Systeme-11534768.html

    The current Paperless-ngx package 1.71.2 ships Ghostscript 10.06.0 (gs --version in the web terminal), which is affected. The fix is in Ghostscript 10.08.0.
    Could you publish an updated package? Other apps that bundle Ghostscript may be affected as well.

    1 Reply Last reply
    1
    • jamesJ
      jamesJ
      james
      Staff
      wrote last edited by james
      #2

      Hello @jkammerer

      Thanks for reporting.

      We are aware of the CVE-2026-125396 for the Ghostscript apt package version 10.06.0~dfsg-3ubuntu1.2 that exists in the @paperless-ngx docker image.

      As of writing this, the EPSS Score is ~0.44% and the EPSS Percentile is ~40%. This means exploitation is unlikely in the general population and there is no KEV flag, so there is no known observed exploitation in the wild, yet.

      The attack vector for @paperless-ngx is rather large since it could be abused by:

      • Any Paperless user who can upload a document
      • Anyone who can drop a file into the consume folder
      • Anyone who can send email, if a Paperless mail account and rule are set up to fetch attachments. This is the realistic remote path, and it raises the risk above what "local" in the CVSS score suggests

      Unfortunately, Ubuntu does not have an apt update ready yet.

      • https://ubuntu.com/security/CVE-2026-125396
      • https://ubuntu.com/security/cves/CVE-2026-125396.json

      We can't create an app update for @paperless-ngx until Ubuntu as published the app update.
      Another option would be to change the @paperless-ngx app to build Ghostscript from source instead of using apt to install Ghostscript.
      We will keep this option in mind going forward and if the situation requires it.

      My opinion:
      If you trust the Users who have access to your @paperless-ngx, the highest attack vector is the automated ingestion of Mails send to @paperless-ngx.
      Mitigation right now could be to restrict who can upload new documents and to only accept mails send to @paperless-ngx from trusted sources.

      1 Reply Last reply
      0

      Hello! It looks like you're interested in this conversation, but you don't have an account yet.

      Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

      With your input, this post could be even better 💗

      Register Login
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Bookmarks
      • Search