CVE-2026-107841 pacioli: A submit consent marker licensed cancellation of caller-named pre-existing documents

Medium 5.7 Published Updated

Attackers with API consent scope can bypass document binding checks to cancel unrelated pre-existing documents, reversing ledger effects in ERPNext environments.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2026-107841?

CVE-2026-107841 is a medium-severity missing authorization vulnerability in john-broadway pacioli, published on 9 Oct 2026. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.

Official description

pacioli provides least-privilege governance and a governed agent broker for ERPNext. From version 0.9.6 until version 0.10.0, the pacioli-guard document-layer consent gate allows nested cancellation operations to ride any consent established by an enclosing governed act without checking whether the marker authorizes cancellation. A credential with API Key Scope.require_consent can submit a caller-controlled Sales Invoice or other supported document under a valid human-minted submit marker and reach Document.cancel() for a different pre-existing submitted document, bypassing the marker's document and act binding, single-use spend, and denial audit. The unauthorized cancellation can reverse the target document's ledger effect; principals without a consent-gated grant are not affected. This issue is fixed in version 0.10.0.

Weakness: CWE-863

Which versions are affected by CVE-2026-107841?

3 open source packages ship an affected version, including pacioli-guard.

PackageAffectedFixed in
pacioli-guard PyPIFrom 0.9.60.10.0
pacioli-guard PyPIFrom 0.9.60.10.0
pacioli-guard PyPIFrom 0.9.60.10.0

How do I fix CVE-2026-107841?

Upgrade pacioli-guard to 0.10.0 or later.

Upgrade, and check permissions on every request on the server, not only in the interface. More about Missing authorization.

Is CVE-2026-107841 being exploited?

There is no known exploitation of CVE-2026-107841 in the wild and no public exploit code.

Sources

Also known as GHSA-3hj7-6vmj-h8v4, PYSEC-2026-4246.

Is CVE-2026-107841 in your software?

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

Check your SBOMs for free