# Dolibarr has SQL Injection in societe/class/societe.class.php via localtax1_value parameter

Advisory record · `GHSA-v5fq-cf5m-vwv7`

- **Identifiers:** `GHSA-v5fq-cf5m-vwv7` · `CVE-2026-33944` · `PKSA-w1dm-r75t-7cq5`
- **State:** Confirmed
- **Severity:** CVSS 8.8 High
- **Critical:** No
- **Weakness (CWE):** [CWE-89](https://cwe.mitre.org/data/definitions/89.html)
- **Tags:** [SQL injection](https://agentprime.io/advisories/tag/sql-injection.md)
- **Published:** 27 Oct 2026
- **Updated:** 5 Nov 2026
- **Reviewed by a person:** No

Published by the GitHub Advisory Database at 27 Oct 2026, 13:29 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

## Affected packages

- `dolibarr/dolibarr` (Packagist): affected `<22.0.5 || >=23.0.0, <23.0.2`; fixed in `22.0.5`, `23.0.2`

## Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

> Dolibarr (dolibarr/dolibarr on Packagist) versions up to and including 23.0.0 are affected by a SQL injection in the Third Party update code in societe/class/societe.class.php, where the localtax1_value parameter is concatenated into an UPDATE statement without escaping or type casting. An attacker with a standard account that has Third Party create/edit permission can submit a crafted value to read database contents, such as password hashes, and potentially modify records. The source lists no fixed version, and the description does not give a patch or workaround.

Written 31 Oct 2026.

## Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

## Severity and exploitation

- 8.8 High, CVSS 3.1: `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`, from CNA (GitHub_M)

- **CISA KEV:** Not listed.
- **EPSS:** No score.

## Timeline

- 27 Oct 2026, 13:29 UTC: [Confirmed by GitHub Advisory Database](https://github.com/advisories/GHSA-v5fq-cf5m-vwv7)
- 27 Oct 2026, 13:29 UTC: [Confirmed by Packagist](https://github.com/advisories/GHSA-v5fq-cf5m-vwv7)
- 31 Oct 2026, 13:53 UTC: First seen by agentprime
- 31 Oct 2026, 13:53 UTC: [Confirmed by OSV](https://osv.dev/vulnerability/GHSA-v5fq-cf5m-vwv7)
- 5 Nov 2026, 21:40 UTC: [Confirmed by the CVE List](https://www.cve.org/CVERecord?id=CVE-2026-33944)
- 5 Nov 2026, 22:18 UTC: [Confirmed by NVD](https://nvd.nist.gov/vuln/detail/CVE-2026-33944)

## Sources

- [GitHub Advisory Database: GHSA-v5fq-cf5m-vwv7](https://github.com/advisories/GHSA-v5fq-cf5m-vwv7)
- [OSV: GHSA-v5fq-cf5m-vwv7](https://osv.dev/vulnerability/GHSA-v5fq-cf5m-vwv7)
- <https://github.com/Dolibarr/dolibarr/security/advisories/GHSA-v5fq-cf5m-vwv7>
- <https://github.com/Dolibarr/dolibarr/commit/a06b14b7dc39d33f8fa00c9b27f2913b494885cb>
- <https://github.com/Dolibarr/dolibarr/commit/c83c13305240c2c0a3779e678b57238b32d15e7c>
- <https://github.com/Dolibarr/dolibarr>
- <https://github.com/Dolibarr/dolibarr/releases/tag/22.0.5>
- <https://github.com/Dolibarr/dolibarr/releases/tag/23.0.2>
- <https://www.sec4check.pl/blog/posts/cve-dolibarr-sql-injection-localtax-third-party.html>

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.

## Check whether this affects you

A Match means an installed version is in the affected range above. Most don’t affect the app; agentprime hasn’t analysed this one yet.

- With the agentprime MCP server (<https://api.agentprime.io/mcp>), ask your agent to check the project: `check_lockfile` sends a lockfile, `check_packages` a list of installed packages, and both return the Matches and the upgrades that clear them. `get_advisory` returns this record. Setup: <https://agentprime.io/mcp.md>
- In a browser: <https://agentprime.io/check/> reads your lockfile in the browser, never uploading it.
- Whether it touches your code, with file and line: the Claude Code plugin, <https://agentprime.io/plugin.md>
- As JSON: <https://api.agentprime.io/v1/advisories/GHSA-v5fq-cf5m-vwv7>, or `POST https://api.agentprime.io/v1/match` with your packages (<https://agentprime.io/api.md>)

---

The web page: <https://agentprime.io/advisories/GHSA-v5fq-cf5m-vwv7/>. Everything for agents: <https://agentprime.io/llms.txt>.
