Read the docs

Improper neutralization in paperless-gpt renderOCRPromptOverride

Priority MEDIUM 46CWE-1336Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
None
Attack complexity
Low
Attack requirements
None
Impact type
Code execution
Confidentiality · integrity · availability
Low · None · None
Fix status
No fix listed

Attack profile from CVSS 4.0 · CNA. Fix status from CNA. Impact type from CWE-1336.

Summary

Icereed paperless-gpt up to and including 0.31.0 is affected. In ocr_prompt.go, the renderOCRPromptOverride function does not neutralize special elements used by its template engine (CWE-1336, related to incomplete filtering). A remote attacker without privileges can exploit this low-complexity flaw to read limited information, and a public exploit has been disclosed and may be used. The project was informed through an issue report but has not responded.

Written with Claude Haiku 5.5 from the sources below · 2026-12-03

Description from the CNA

A security vulnerability has been detected in Icereed paperless-gpt up to 0.31.0. The affected element is the function renderOCRPromptOverride of the file ocr_prompt.go. Such manipulation leads to improper neutralization of special elements used in a template engine. It is possible to launch the attack remotely. The exploit has been disclosed publicly and may be used. The project was informed of the problem early through an issue report but has not responded yet.

Why it matters now

Public exploit Yes 1 exploit referenceTagged by the CNA
Fix No fix listed No fixed version in the sources yet

SSVC decision points

Not available: CISA has not published SSVC decision points for this record.

Affected products

VendorProductAffected versionsFixed inStatusSource
Icereedpaperless-gpt0.1; 0.2; 0.3; 0.4; 0.5; 0.6; 0.7; 0.8; 0.9; 0.10; 0.11; 0.12; 0.13; 0.14; 0.15; 0.16; 0.17; 0.18; 0.19; 0.20; 0.21; 0.22; 0.23; 0.24; 0.25; 0.26; 0.27; 0.28; 0.29; 0.30; 0.31.0—No fix listedCNA
  • paperless-gpt VendorIcereed Affected 0.1; 0.2; 0.3; 0.4; 0.5; 0.6; 0.7; 0.8; 0.9; 0.10; 0.11; 0.12; 0.13; 0.14; 0.15; 0.16; 0.17; 0.18; 0.19; 0.20; 0.21; 0.22; 0.23; 0.24; 0.25; 0.26; 0.27; 0.28; 0.29; 0.30; 0.31.0 Fixed in — No fix listed CNA

CPE names CNA · 1

CPEVersionsRoleVendor
cpe:2.3:a:icereed:paperless-gpt:*:*:*:*:*:*:*:*——Icereed
  • cpe:2.3:a:icereed:paperless-gpt:*:*:*:*:*:*:*:* Versions — — ·Icereed

Remediation

The sources list no fixed version for paperless-gpt.

Written with Claude Haiku 5.5 from the sources below · 2026-12-03

Timeline

  1. 2026-12-03 Threatist record created from CVE-2026-143810
  2. 2026-12-03 Alias added: GHSA-x4f8-49fx-xfp4

References

Sources