/

CVE-2026-61675

Severity:

CRITICAL RISK

(9.8)

Missing Authorization (CWE-862) in WeGIA Payment Module

CVE-2026-61675

Deferred

Vulnerability type

Category:

Missing Authorization

CWE:

CWE-862

Impact:

Unauthorized modification of financial records

Severity:

CRITICAL RISK

(9.8)

CVSS version:

3.1

Catch this CVE while code is being written

Detect vulnerable code directly in pull requests, so CVEs are fixed before merge.

Summary

WeGIA's payment update endpoint can modify payment records without verifying that the requester has an authenticated session. An unauthenticated remote attacker who can reach the endpoint may change payment details or mark arbitrary payments as paid, corrupting financial records.

Affected context

The issue occurs in WeGIA's web/html/socio/sistema/atualiza_pagamentos.php payment-update functionality. In affected deployments, the endpoint processes payment-status updates without first checking whether the requester has an authenticated session. The issue was fixed in version 3.8.7.

Exploit preconditions

  • Attack surface: Network-accessible WeGIA payment update endpoint
  • Required access: No authenticated session is required
  • Trigger point: A request to the payment update functionality
  • Why exploitation is possible: The endpoint accepts payment information and updates records without verifying the requester's authorization to perform the change

Why this happens

The endpoint performs a sensitive database update without an authorization check. This is a missing access-control enforcement flaw, mapping to CWE-862: Missing Authorization: the application does not verify that the requester is permitted to change the targeted payment record before applying the update.

Potential impact

  • Payment records could be marked as paid without authorization
  • Payment dates or paid values could be altered
  • Financial records could become inaccurate or unreliable
  • Organizations could face accounting, operational, or compliance consequences

General mitigation guidance

Defensive patterns focus on enforcing authorization at the point where sensitive records are changed.

  • Require an authenticated session for payment updates.
  • Check that the authenticated user has permission to modify the specific payment record.
  • Validate payment identifiers and submitted values against trusted records and business rules.
  • Deny requests by default when identity or authorization cannot be established.
  • Apply least privilege to application database access and log sensitive changes for review.

How teams detect issues like this

  • Use static analysis and code review to identify database updates reachable without authentication or authorization checks.
  • Trace payment-update routes from request handling through the database write, verifying that access checks occur before the update.
  • Enforce policies requiring authorization checks for sensitive financial operations.
  • Monitor for unusual payment-status changes, unexpected unauthenticated requests, and anomalous update patterns.

Sources

SourceLink
github.comgithub.com/LabRedesCefetRJ/WeGIA/commit/a820c2fed9180945753e25fe93e927c764f8f650
github.comgithub.com/LabRedesCefetRJ/WeGIA/pull/1705
github.comgithub.com/LabRedesCefetRJ/WeGIA/security/advisories/GHSA-c6vj-372g-m3cw

Frequently asked

questions

Yes. An unauthenticated remote requester who can reach the payment update endpoint may attempt to alter payment records.

No authenticated session is required by the vulnerable endpoint.

Require authentication and verify the requester's authorization for the specific payment record before making any database changes.

Apply deny-by-default access controls to sensitive operations, review request-to-database paths, and monitor changes to financial records.

Find out what's already
exploitable in your codebase.