Vulnerabilities in pkg:maven/nl.nl-portal/taak

PACKAGE
Advisory Identifier: GHSA-6h3c-r723-7fx3
Advisory Summary

CVE-2026-49464 is a HIGH (CVSS 8.1) idor allows any authenticated user vulnerability (CWE-639: Authorization Bypass Through User-Controlled Key) affecting NL Portal libraries in the Maven ecosystem. The issue involves idor allows any authenticated user to complete and tamper with another user's taak. Remediation is available by upgrading affected packages to version 3.0.1.

1 Known Advisory Record(s)
Package Vulnerability Intelligence

pkg:maven/nl.nl-portal/taak

1 Known Advisory Record(s)

Vulnerability advisories affecting package pkg:maven/nl.nl-portal/taak. Select an advisory below to view technical details or fixes.

Advisory ID CVE / NVD Severity Summary
GHSA-6h3c-r723-7fx3 CVE-2026-49464 HIGH NL Portal: IDOR allows any authenticated user to complete and tamper with another user's taak

CVE-2026-49464 at a Glance

CVE Identifier CVE-2026-49464
GHSA Identifier GHSA-6h3c-r723-7fx3
Severity HIGH
CVSS v3.1 Base Score 8.1
CWE Classification CWE-639: Authorization Bypass Through User-Controlled Key
Affected Product NL Portal
Package Ecosystem Maven
Published Date
Last Updated

Security Impact

CVSS: 8.1

The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N).

Attack Vector Network (AV:N)
Attack Complexity Low (AC:L)
Privileges Required Low (PR:L)
User Interaction None (UI:N)
Scope Unchanged (S:U)
Confidentiality High (C:H)
Integrity High (I:H)
Availability None (A:N)

How to Fix CVE-2026-49464

To remediate this vulnerability, upgrade all affected NL Portal dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

nl.nl-portal:taak fixed: 3.0.1
<dependency>
    <groupId>nl.nl-portal</groupId>
    <artifactId>taak</artifactId>
    <version>3.0.1</version>
</dependency>
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

mvn dependency:tree -Dincludes=nl.nl-portal

How to Check if You Are Affected

To determine whether your Java application is affected by CVE-2026-49464, inspect your build dependencies using the Maven Dependency Plugin:

mvn dependency:tree -Dincludes=nl.nl-portal

Analyze the terminal output to locate any version of NL Portal in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 3.0.1), your application is affected.

Note: The mvn dependency:tree -Dincludes=nl.nl-portal command inspects the resolved dependency graph declared in your project's POM files; it does not perform automated security scanning or inspect runtime dynamic classpaths. Always verify runtime container classpaths and shaded JARs.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-639: Authorization Bypass Through User-Controlled Key, where the system's authorization functionality does not prevent one user from gaining access to another user's data or record by modifying the key value identifying the data. In NL Portal, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

## Impact In versions from 1.5.0 up to and including 3.0.0, any authenticated portal user could complete and tamper with another user's open task by submitting it on their behalf. The task submission endpoint accepted a task ID and a payload, but it never checked whether the task actually belonged to the user making the call. An attacker who held a valid login (a normal `burger` OAuth token) and who knew or guessed another user's task ID could: - Mark someone else's task as completed. - Overwrite the data submitted with that task — the `verzonden_data` — with arbitrary input of their choosing. - Receive the full task back in the GraphQL response, including the form data that the legitimate owner had already entered. This leaks personal data belonging to the original user. Functionally this means a malicious authenticated user could submit and alter forms in any other user's name, while at the same time reading what that user had previously filled in. Both the integrity of submitted data and the confidentiality of form contents are affected. The vulnerable code was introduced together with the Taak V2 implementation (commit `bb1c1ecf`, 2024-06-04) and first shipped in the `1.5.x` release line. Earlier 1.x releases did not contain this resolver. ## Patches Upgrade to **3.0.1** or later. Fix commit: `8e699add` — "Add auth check for task submission". ## Workarounds Until the upgrade is applied, block the `submitTaakV2` GraphQL mutation at the API gateway, or restrict the `/graphql` endpoint to trusted networks. ## Technical details The resolver `nl.nlportal.zgw.taak.service.TaakService.submitTaakV2(id, submission, authentication)` fetched the task object by UUID and immediately transitioned it to the `AFGEROND` state, writing `record.data.portaalformulier.verzondenData` from caller-supplied input. No check verified that the task's `identificatie` matched the authenticated burger. The fix adds a call to a new `isAuthorizedForTaak(authentication, objectsApiTask)` before the status change. The check compares `identificatie.type` and `identificatie.value` against the authenticated principal and validates the task's `eigenaar` for `bedrijf` `machtigingen`. ## Credits Discovered during the nl-portal-backend-libraries penetration testing engagement (phase 1, May 2026). Vendor attribution to be added before publication.

CVE-2026-49464 Affected NL Portal Versions

1 component(s)
Fixed Versions:
3.0.1
Product / Package Ecosystem Affected Versions Fixed Version
nl.nl-portal:taak
Maven
≥ 1.5.0
< 3.0.1
3.0.1

References

Frequently Asked Questions

What is CVE-2026-49464?
CVE-2026-49464 is a security vulnerability in NL Portal involving IDOR allows any authenticated user to complete and tamper with another user's taak under CWE-639: Authorization Bypass Through User-Controlled Key.
Which NL Portal versions are affected?
Affected versions include releases prior to 3.0.1 across affected packages: nl.nl-portal:taak.
What version fixes CVE-2026-49464?
Upgrading to 3.0.1 (or the latest patched release for your respective branch) resolves the vulnerability.
Is taak affected?
Yes, nl.nl-portal:taak is affected in releases prior to 3.0.1. Upgrade your dependency to 3.0.1 or later.
What is the CVSS score of CVE-2026-49464?
CVE-2026-49464 has a CVSS v3.1 base score of 8.1 (HIGH) with vector string CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N.
What CWE is associated with CVE-2026-49464?
CVE-2026-49464 is classified under CWE-639: Authorization Bypass Through User-Controlled Key (The system's authorization functionality does not prevent one user from gaining access to another user's data or record by modifying the key value identifying the data.).
How can I check Maven dependencies for CVE-2026-49464?
Run the dependency tree command: 'mvn dependency:tree -Dincludes=nl.nl-portal'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-6h3c-r723-7fx3",
  "modified" : "2026-07-08T21:12:00Z",
  "published" : "2026-07-08T21:12:00Z",
  "aliases" : [ "CVE-2026-49464" ],
  "summary" : "NL Portal: IDOR allows any authenticated user to complete and tamper with another user's taak",
  "details" : "## Impact\n\nIn versions from 1.5.0 up to and including 3.0.0, any authenticated portal user could complete and tamper with another user's open task by submitting it on their behalf. The task submission endpoint accepted a task ID and a payload, but it never checked whether the task actually belonged to the user making the call.\n\nAn attacker who held a valid login (a normal `burger` OAuth token) and who knew or guessed another user's task ID could:\n\n- Mark someone else's task as completed.\n- Overwrite the data submitted with that task — the `verzonden_data` — with arbitrary input of their choosing.\n- Receive the full task back in the GraphQL response, including the form data that the legitimate owner had already entered. This leaks personal data belonging to the original user.\n\nFunctionally this means a malicious authenticated user could submit and alter forms in any other user's name, while at the same time reading what that user had previously filled in. Both the integrity of submitted data and the confidentiality of form contents are affected.\n\nThe vulnerable code was introduced together with the Taak V2 implementation (commit `bb1c1ecf`, 2024-06-04) and first shipped in the `1.5.x` release line. Earlier 1.x releases did not contain this resolver.\n\n## Patches\n\nUpgrade to **3.0.1** or later.\n\nFix commit: `8e699add` — \"Add auth check for task submission\".\n\n## Workarounds\n\nUntil the upgrade is applied, block the `submitTaakV2` GraphQL mutation at the API gateway, or restrict the `/graphql` endpoint to trusted networks.\n\n## Technical details\n\nThe resolver `nl.nlportal.zgw.taak.service.TaakService.submitTaakV2(id, submission, authentication)` fetched the task object by UUID and immediately transitioned it to the `AFGEROND` state, writing `record.data.portaalformulier.verzondenData` from caller-supplied input. No check verified that the task's `identificatie` matched the authenticated burger.\n\nThe fix adds a call to a new `isAuthorizedForTaak(authentication, objectsApiTask)` before the status change. The check compares `identificatie.type` and `identificatie.value` against the authenticated principal and validates the task's `eigenaar` for `bedrijf` `machtigingen`.\n\n## Credits\n\nDiscovered during the nl-portal-backend-libraries penetration testing engagement (phase 1, May 2026). Vendor attribution to be added before publication.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Maven",
      "name" : "nl.nl-portal:taak"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "1.5.0"
      }, {
        "fixed" : "3.0.1"
      } ]
    } ],
    "database_specific" : {
      "last_known_affected_version_range" : "<= 3.0.0"
    }
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/nl-portal/nl-portal-backend-libraries/security/advisories/GHSA-6h3c-r723-7fx3"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/nl-portal/nl-portal-backend-libraries"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-639" ],
    "severity" : "HIGH",
    "github_reviewed" : true,
    "github_reviewed_at" : "2026-07-08T21:12:00Z",
    "nvd_published_at" : null
  }
}