CVE-2026-38165 Code injection in n/a

Critical 9.8 Published Updated

Attackers can execute arbitrary code via crafted expressions in the Velocity template engine of the xdocreport library.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2026-38165?

CVE-2026-38165 is a critical code injection vulnerability in n/a, published on 17 Aug 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

A Server-Side Template Injection (SSTI) vulnerability in the Velocity template engine configuration of xdocreport v0.9.2 to v2.2.0 allows attackers to execute arbitrary code via a crafted expression.

Weakness: CWE-94

Which versions are affected by CVE-2026-38165?

How do I fix CVE-2026-38165?

No fix has been published for CVE-2026-38165 yet. Limit exposure of the affected software until one is available.

Upgrade, and never evaluate templates, expressions or code built from user input. More about Code injection.

Is CVE-2026-38165 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-38165 exists.

Public exploit code: 1 proofs of concept on GitHub.

Sources

Also known as GHSA-7747-6373-9653.

Is CVE-2026-38165 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free