CVE-2026-107841: pacioli-guard Document Consent Marker Bypass Vulnerability

pacioli-guard Updated 10 Oct 2026

Summary

09/10/2026
Yes i
Moderate
5.7

CVE-2026-107841: pacioli: A submit consent marker licensed cancellation of caller-named pre-existing documents. Affects pacioli-guard versions >= 0.9.6, < 0.10.0. Fixed in 0.10.0. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Your last release was probably never penetration tested Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

pacioli-guard is a Python package designed to enforce consent gating for document submissions and cancellations in ERPNext, a popular open-source ERP system. It requires a unique, document-bound consent marker to authorize actions that affect documents. This functionality is crucial for maintaining compliance and ensuring that sensitive operations are performed with explicit user consent.

Vulnerability Detail

The vulnerability arises from a flaw in the consent gating mechanism of pacioli-guard, where nested document actions can bypass the required consent marker. Specifically, when a document is submitted with an authorized consent marker, subsequent cancellations of related documents can occur without additional consent checks. This leads to unauthorized cancellations, potentially reversing financial transactions without user approval. The issue is rooted in the logic that allows 'riding' on the consent of the enclosing act, which fails to enforce proper act-binding checks.

How To Fix

Minimum fixed version

0.10.0

This is the first release that contains the fix.

pip install --upgrade "pacioli-guard==0.10.0"

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

If upgrading is not immediately possible, a temporary workaround is to remove the 'require_consent' setting from affected grants in your application. This will disable the consent gating feature, but it is not a substitute for upgrading to the patched version. Additionally, you can restrict the scope of governed credentials to prevent them from submitting documents that could lead to unauthorized cancellations.

Conclusion

CVE-2026-107841 is a significant vulnerability in the pacioli-guard package that allows unauthorized document cancellations due to a flaw in the consent gating mechanism. Upgrading to version 0.10.0 or later is essential to mitigate this risk. Users should also consider using Vulert to monitor for vulnerabilities in their applications.

See every vulnerability recorded for pacioli-guard →

Share this vulnerability

FAQ

The vulnerability allows unauthorized cancellations of documents, potentially reversing financial transactions without user consent.

Only sites that have opted into consent gating with the 'require_consent' setting enabled are affected.

You can use the Vulert playground at Vulert Scanner to check if your application is impacted by this vulnerability without needing to sign up.

The CVSS score for this vulnerability is 5.7, indicating a moderate severity level.

As a temporary measure, you can remove the 'require_consent' setting from affected grants or restrict the scope of governed credentials.

How To Fix

Minimum fixed version

0.10.0

This is the first release that contains the fix.

pip install --upgrade "pacioli-guard==0.10.0"

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback