CVE-2026-71506: Dolibarr Api Payment Delete Improper Permission

The payment deletion API endpoint checks for invoice deletion permissions ('facture', 'supprimer') instead of payment management permissions ('facture', 'paiement'). This allows unauthorized users with invoice delete rights to permanently delete payment records.

Provally CuratedPublic repositoryMediumMedium confidenceVerifiedApache-2.0PHP
greprules fetch cve-2026-71506-dolibarr-api-payment-delete-improper-permission --engine opengrep

Description

The payment deletion API endpoint checks for invoice deletion permissions ('facture', 'supprimer') instead of payment management permissions ('facture', 'paiement'). This allows unauthorized users with invoice delete rights to permanently delete payment records.