External risk intelligence

SQL Injection in API Endpoint Exposes Database Details.

CVE advisorySeverity: CRITICAL (CVSS 9.3)

CVE-2026-81674

The vulnerability exists in a web application API endpoint, /ws/apiprensa/getVideoNextPrev, which is designed to process web requests. As a public-facing API endpoint, it is commonly exposed to the internet to serve application functionality.

SQL Injection

Halo Surface Signal: 4 out of 5 — likely to be public-facing.

External exposure likelihood

Horizon Alert

Summary of the vulnerability and why it matters

A security issue has been identified in a web application's API endpoint. This vulnerability could allow unauthorized access to database information by manipulating input parameters, potentially revealing internal system details. The main concern is confirming whether our systems utilize this specific technology and if they are exposed to this threat.

  • Database information could be exposed.
  • Consider if this technology is in use.
  • Assess relevance and potential exposure.

Attack Path

How an attacker could exploit the issue

An attacker can exploit this vulnerability by sending a crafted request to the `/ws/getVideoNextPrev` API endpoint. Because the `id_ambito` parameter is not properly validated, an attacker can inject malicious SQL code into this parameter, which is then directly used in a database query. This can lead to the exposure of sensitive database information and potentially allow for further compromise of the system.

  • No authentication or privileges required.
  • Inject SQL via the `id_ambito` parameter.
  • Exposes database errors and internal query structure.

Live Threat

Current exploitation, exposure, and threat context

The `/ws/apiprensa/getVideoNextPrev` endpoint is susceptible to SQL injection through the `id_ambito` parameter. When an attacker crafts a malicious input, it can be directly inserted into a MariaDB query without proper sanitization. This can lead to database errors and reveal the internal structure of the queries, potentially enabling further unauthorized access when supported by the advisory.

  • Database structure could be exposed.
  • Unsanitized input could alter queries.
  • Query details may be revealed to attackers.

Operational Fix

Recommended remediation, mitigation, and detection steps

This SQL injection vulnerability in an API endpoint requires action from application owners and potentially infrastructure or security teams. The first step is to identify all instances of the affected technology, confirm its reachability and business criticality, and then assign ownership for remediation planning.

  • Confirm application ownership and exposure.
  • Verify impact and potential reachability.
  • Plan remediation based on identified risk.

Supplementary metadata

Validate whether this threat affects your internet-facing exposure.

Halo Threat Intelligence helps prioritize remediation with Halo Surface Signal and H/A/L/O context. Start exposure validation with a free external attack surface trial.

Frequently asked questions

What is the software affected by CVE-2026-81674?

This vulnerability affects a web application component that includes the /ws/apiprensa/getVideoNextPrev API endpoint. This endpoint is part of a larger application infrastructure used to manage and serve video content information. It relies on a MariaDB database backend to process requests and retrieve data based on specific parameters provided by users or other systems.

How does SQL injection work in this CVE?

This vulnerability is classified as CWE-89, or Improper Neutralization of Special Elements used in an SQL Command. It occurs because the application fails to sanitize the id_ambito parameter before using it in a database query. By injecting malicious SQL syntax into this input field, an attacker can disrupt the query's logic, causing the database to return detailed error messages that reveal its internal structure.

Do I need special privileges to trigger this bug?

No. The vulnerability does not require authentication or elevated user privileges to be triggered. An attacker simply needs to send a crafted request containing malicious input to the specific API endpoint. Note that only requests interacting with the vulnerable id_ambito parameter can initiate this SQL injection; legitimate traffic that does not contain injected SQL commands will not trigger this weakness.

Why is this CVE considered relevant for my systems?

According to Halo Surface Signal, this vulnerability is critical because it exists in a public-facing API endpoint. Because /ws/apiprensa/getVideoNextPrev is designed to process web requests, it is often exposed to the internet to support application functionality. This accessibility means systems running this technology face a higher likelihood of being targeted by unauthorized actors.

What is the first step to address CVE-2026-81674?

Start by identifying all instances of the application that utilize this specific API endpoint within your environment. Once you have a complete inventory, confirm whether these instances are reachable from the network. After verifying ownership and business criticality, coordinate with your technical teams to prioritize the remediation of this endpoint to prevent database exposure.

References