{"id":"CVE-2026-49464","aliases":[],"url":"https://o3.security/vulnerability/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.","published":"2026-07-08T21:12:00Z","modified":"2026-07-08T21:15:19.146024869Z","cvss":{"score":8.1,"severity":"HIGH","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N"},"epss":null,"cisaKev":null,"exploitsKnown":null,"affectedPackages":[{"ecosystem":"Maven","name":"nl.nl-portal:taak","fixedVersion":"3.0.1"}],"fix":null,"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"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-07-08T21:15:19.146024869Z"}}