/

CVE-2026-61680

Severity:

CRITICAL RISK

(9.8)

Missing Authentication (CWE-306) in WeGIA Charge Generation

CVE-2026-61680

Deferred

Vulnerability type

Category:

Missing Authentication

CWE:

CWE-306

Impact:

Unauthorized financial record creation and billing data manipulation

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 charge-generation endpoint performs privileged operations without verifying that the requester has an authenticated session. An unauthenticated remote requester who can reach the endpoint and provide valid parameters may create charge records, potentially corrupting billing data at scale.

Affected context

The issue is in WeGIA's web/html/socio/sistema/cadastro_cobrancas_geracao.php charge-generation flow. It is relevant where this endpoint is reachable and performs charge creation without requiring a valid authenticated session; the risk depends on deployment exposure and the integrity of downstream billing workflows.

Exploit preconditions

  • Attack surface: The remotely reachable charge-generation endpoint
  • Required access: No authenticated session is required
  • Trigger point: A request to the endpoint with valid charge-generation parameters
  • Why exploitation is possible: The operation does not verify authentication before creating charge records

Why this happens

The application performs a privileged action without first checking whether the requester is authenticated. This is a missing authentication control, mapped to CWE-306: Missing Authentication for Critical Function. As a result, the endpoint may treat unauthenticated requests as authorized to create financial records.

Potential impact

  • An attacker could create unauthorized charge records.
  • Billing data may be manipulated or corrupted at scale.
  • Staff may need to spend time identifying and correcting fraudulent or invalid records.
  • Downstream financial and reporting workflows may be affected.

General mitigation guidance

Defensive patterns focus on requiring authentication and authorization before any privileged financial operation.

  • Enforce session authentication server-side at the operation boundary.
  • Apply role- and permission-based authorization for charge creation.
  • Validate parameters and business rules independently of authentication checks.
  • Limit endpoint exposure and use least-privilege access for related services.
  • Maintain audit trails and review unusual charge-generation activity.

How teams detect issues like this

Review sensitive endpoints for charge-creation operations that run before or without session and permission checks. Static analysis and code review can look for state-changing handlers lacking centralized authentication middleware or explicit authorization guards. Monitoring policies may flag charge-generation requests without an associated authenticated user, unusually high request volumes, or unexpected record-creation patterns.

Sources

SourceLink
github.comgithub.com/LabRedesCefetRJ/WeGIA/commit/38cb19baeee90b334817fb9b40f967996c9ee36b
github.comgithub.com/LabRedesCefetRJ/WeGIA/commit/a820c2fed9180945753e25fe93e927c764f8f650
github.comgithub.com/LabRedesCefetRJ/WeGIA/pull/1705
github.comgithub.com/LabRedesCefetRJ/WeGIA/releases/tag/3.8.6
github.comgithub.com/LabRedesCefetRJ/WeGIA/security/advisories/GHSA-fjwm-mmjp-c6vm

Frequently asked

questions

The described issue can be triggered by a remote requester if the endpoint is reachable and valid charge-generation parameters are supplied.

No authenticated session is required for the operation described. Network reachability and valid parameters are still relevant.

Require server-side authentication and authorization before performing charge creation, then validate the request and business rules.

Apply consistent access-control middleware to sensitive routes and include checks for unauthenticated state-changing requests in code review, testing, and monitoring.

Find out what's already
exploitable in your codebase.