cve.bz

CVE-2026-86512 java-json-tools json-patch: Incorrect Privilege Assignment

2.1 lowEPSS 0.4%

Low (2.1) in java-json-tools json-patch. EPSS 0.4% estimated probability of exploitation activity in the next 30 days.

On this page
A vulnerability was identified in java-json-tools json-patch up to 1.13. This affects the function CopyOperation.apply/MoveOperation.apply of the file src/main/java/com/github/fge/jsonpatch/CopyOperation.java of the component Copy Move Operations. The manipulation leads to improper access controls. Remote exploitation of the attack is possible. The exploit is publicly available and might be used. The project was informed of the problem early through an issue report but has not responded yet.

Severity

CVSS 4.0

2.1 low
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P

CVSS 3.1

6.3 medium
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L
EPSS
0.4% (unchanged from 0.4% a week ago; 0.4% 30 days ago) estimated probability of exploitation activity in the next 30 days; 31st percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: PoC · Automatable: no · Technical impact: partial, assessed 2026-09-09. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWEs
CWE-266 Incorrect Privilege Assignment
CWE-284 Improper Access Control
OWASP Top 10
A01:2025 Broken Access Control, A06:2025 Insecure Design
Published
Modified
NVD analysis
Deferred: the NVD does not plan to analyze it
Record from
the NVD, synced

Ask an AI about this CVE

Show the promptExplain CVE-2026-86512 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-86512?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-86512?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-86512 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
java-json-tools json-patch1.0
java-json-tools json-patch1.1
java-json-tools json-patch1.2
java-json-tools json-patch1.3
java-json-tools json-patch1.4
java-json-tools json-patch1.5
java-json-tools json-patch1.6
java-json-tools json-patch1.7
java-json-tools json-patch1.8
java-json-tools json-patch1.9
java-json-tools json-patch1.10
java-json-tools json-patch1.11
java-json-tools json-patch1.12
java-json-tools json-patch1.13

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

An improper access control vulnerability was found in java-json-tools json-patch, a Java library for applying JSON Patch (RFC 6902) documents. In versions up to and including 1.13, the CopyOperation.apply and MoveOperation.apply functions in the Copy Move Operations component fail to properly validate access controls on source and destination paths. An attacker can craft a malicious JSON Patch document using "copy" or "move" operations to bypass intended access restrictions, allowing unauthorized reading of data from protected paths or modification of data in restricted locations. This can lead to information disclosure, data tampering, or privilege escalation depending on the application's data structure. This vulnerability can be exploited remotely, does not require special privileges in the vulnerable library itself, and exploit code is publicly available. The issue was reported by the PayPal Cyber Security Team. As of September 2026, the project maintainers have not responded to vulnerability reports and no patch is currently available. This issue affects Red Hat products that bundle vulnerable versions of json-patch and use the library to process untrusted input on security-sensitive data structures.

Red Hat's mitigation

There is no official patch available for this vulnerability. Until a fix is released, administrators can implement the following mitigations to reduce the risk of access control bypass attacks:

1. Implement strict path validation before applying JSON Patch operations. Maintain an allowlist of permitted source and destination paths, and reject any patch operations that reference paths outside the allowlist. This prevents unauthorized copy/move operations on restricted data.

2. For applications using JSON Patch on user-modifiable data, implement an additional access control layer that validates whether the authenticated user has permission to read from the source path and write to the destination path before applying copy or move operations.

3. Avoid using JSON Patch for operations on security-sensitive data structures such as user permissions, roles, privileges, or access control lists. Use dedicated, validated APIs for these operations instead.

4. In multi-tenant environments, ensure tenant isolation is enforced at a layer above the JSON Patch processing, preventing cross-tenant path access even if the json-patch library allows it.

5. Apply the principle of least privilege to JSON document structures. Separate sensitive data into distinct documents or services that are not accessible via JSON Patch operations.

6. Monitor for suspicious JSON Patch operations, particularly copy and move operations that reference unusual paths or attempt to access administrative or system paths.

7. Where possible, restrict JSON Patch processing to authenticated and trusted sources only. Implement rate limiting and logging for all JSON Patch operations to detect potential exploitation attempts.

8. Consider migrating to alternative, actively maintained JSON manipulation libraries such as Jackson JSON or JSON-P (Java EE standard) that may have more robust access control implementations.

Continue to monitor for updates from the json-patch project maintainers and apply patches when they become available.

ProductPackageStateAdvisory
Red Hat build of Apicurio Registry 3json-patchOut of support scope
Red Hat build of Debezium 3json-patchFix deferred
Red Hat Build of Keycloakjson-patchFix deferred
Red Hat Build of Keycloakkeycloak/rhbk-rhel9-operatorFix deferred
Red Hat Build of Keycloakrhbk/keycloak-rhel9-operatorFix deferred
Red Hat build of Quarkusjson-patchFix deferred
Red Hat Fuse 7json-patchOut of support scope

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-86512.

Attack patterns (CAPEC)

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits. More on the page of CWE-284 (17).

References

Check your stackJSON