Skip to content
eastbaycyber

CVE-2026-116207: YesWiki SQL Injection

CVSS · Critical
9.1
In CISA KEV
No
Published
Oct 25
CVE explainers 11 min read
Security Research Desk Source-checked
Auto-checked against the official CVE record · Human-reviewed after publishing · Updated 2026-10-25
▲ Escalation ViewOne CVE, briefed at three altitudes — skim the Brief, weigh the Impact, or work the Runbook. The way a SOC actually reads it.
CISOBrief · 30-second brief

TL;DR - CVE-2026-116207 is a critical, unauthenticated SQL injection in YesWiki’s public Bazar entries search API. - YesWiki 4.6.0 through versions before 4.7.0 and 5.0.0-alpha1 through versions before 5.0.0-alpha4 are affected. - Upgrade to YesWiki 4.7.0+ or 5.0.0-alpha4+ urgently. - No verified in-the-wild exploitation or CVE-specific public PoC was identified in the supplied assessment.

CVE-2026-116207 is a critical YesWiki SQL injection vulnerability in the public Bazar entries search API. Because the flaw is unauthenticated, an attacker may be able to send crafted requests without first obtaining a YesWiki account. Administrators should identify affected versions, upgrade promptly, and review web and database logs for suspicious activity.

Vulnerability at a Glance

Field Details
CVE CVE-2026-116207
Product YesWiki
Component SearchManager::prepareSearchRequest() in the Bazar entries search API
CVSS 9.1 Critical
CVSS vector Not included in the supplied NVD response; verify the current NVD record before relying on vector-level scoring
Attack vector Network-accessible public API
Authentication required None
Privileges required None stated; exploitation is described as unauthenticated
Patch available Yes
Fixed versions YesWiki 4.7.0 and later; 5.0.0-alpha4 and later
CISA KEV status Not listed at the time of assessment

CVE-2026-116207 allows an unauthenticated attacker to manipulate SQL generated by YesWiki’s search functionality. The affected interface is the public Bazar entries search API, so internet-facing sites may be exposed without requiring an attacker to access administrative pages.

The issue is rated CVSS 9.1, or Critical. The supplied research data does not include the complete CVSS vector string, so defenders should verify the current NVD record before importing vector details into a risk system. The missing vector does not change the operational recommendation: affected deployments should be upgraded promptly.

Analyst’s Take: The public, unauthenticated API should drive the initial priority—not the absence of a CISA KEV listing or a verified public PoC. Upgrade first, then use web and database logs to determine whether suspicious requests or possible data access occurred.

What Is CVE-2026-116207?

The vulnerability is an SQL injection in SearchManager::prepareSearchRequest(). The Bazar entries search API accepts attacker-controlled query and searchfields parameters. Values supplied through those parameters are used as SQL field or alias names and placed into backtick-quoted SQL syntax.

YesWiki reportedly applies mysqli_real_escape_string to these values. That escaping is not sufficient for safely handling attacker-controlled content used as a SQL identifier inside backticks. A crafted backtick can terminate the intended identifier context and allow an attacker to introduce additional SQL syntax, including subqueries.

The practical impact depends on the privileges assigned to the database account used by YesWiki and on the target database configuration. Potential consequences include reading sensitive database content, including user password hashes, and causing database worker exhaustion through functions such as SLEEP().

Even where data extraction is constrained, timing-based queries can create denial-of-service conditions by consuming database workers and application resources.

Technical Data Flow

HTTP request
  -> Bazar entries search API
  -> query / searchfields parameters
  -> SearchManager::prepareSearchRequest()
  -> SQL identifier or alias construction
  -> database query

Authentication is not required, which makes the endpoint’s location important. Perimeter controls protecting authenticated administration pages do not necessarily protect this API. The correct remediation is to install a fixed YesWiki release, not to rely on client-side validation or SQL string escaping.

AnalystImpact · assess the risk

Who Is Affected?

The NVD record identifies YesWiki installations in these release ranges as affected:

Product branch Affected versions Fixed boundary
YesWiki 4.x 4.6.0 through versions before 4.7.0 4.7.0 and later
YesWiki 5.x alpha 5.0.0-alpha1 through versions before 5.0.0-alpha4 5.0.0-alpha4 and later

Deployments running YesWiki 4.6.0, any later 4.x version before 4.7.0, or YesWiki 5.0.0-alpha1 through 5.0.0-alpha3 should be treated as vulnerable.

The supplied record does not identify other versions as affected. Administrators should confirm the exact installed release and review the project’s advisory information before assuming that an unlisted version is safe.

The primary exposure concern is an internet-accessible YesWiki instance with the Bazar entries search API available. Internal-only installations are not immune: an attacker with network access to the application may still exploit the endpoint, and compromise of another internal system could provide that access.

Database privileges influence the impact but do not eliminate the vulnerability.

Check the Installed Version

Determine the installed YesWiki version using the deployment’s documented administrative or release-management procedure. If the installation is managed from a Git checkout, record the current commit and branch before updating:

cd /var/www/yeswiki
git status --short
git branch --show-current
git describe --tags --always

This command is an inventory aid, not a universal upgrade method. Package-based, archive-based, and Git-based YesWiki deployments may require different procedures. Preserve configuration and backups before changing the application.

For broader incident-response context, organizations can also review guidance on CVE mitigation and vulnerability response.

CVSS Score Breakdown

CVE-2026-116207 has a CVSS v3 base score of 9.1, classified as Critical. The available research data does not include the NVD vector string, so individual CVSS components such as attack complexity, user interaction, scope, confidentiality impact, integrity impact, and availability impact cannot be stated authoritatively from the supplied record.

Several characteristics are nevertheless clear:

  • The attack is delivered through a network-accessible API.
  • Authentication is not required.
  • No YesWiki user interaction is described.
  • Potential impact includes confidentiality and availability.
  • SQL injection may expose database records, including password hashes.
  • Database-delay or resource-exhaustion techniques may impair service availability.

Administrators should not reconstruct or guess the missing vector. Confirm the vector directly in the current NVD record before using component-level values in dashboards, prioritization logic, or compliance reports. The 9.1 base score supports urgent remediation while that verification is completed.

Deployment-Specific Risk Factors

Risk decisions should account for deployment-specific exposure in addition to the base score:

Priority increases when:
- YesWiki is reachable from the public internet
- The Bazar search API is exposed without a reverse-proxy restriction
- The application database account has broad read access
- Sensitive user or credential data is stored in the same database
- Database or web logs are unavailable for retrospective review

A database account with reduced privileges can limit the consequences of successful injection, but least privilege is a defense-in-depth measure. It does not replace upgrading YesWiki.

Exploitation Status

CVE-2026-116207 was not present in the CISA Known Exploited Vulnerabilities catalog at the time of the supplied lookup. Therefore, no CISA KEV due date or required-action deadline was associated with this record, and no KEV ransomware-campaign flag was reported.

No verified in-the-wild exploitation was established by the sources queried. No confirmed CVE-2026-116207-specific public proof-of-concept repository was identified either.

These findings should be stated precisely: confirmed exploitation or a reliable public PoC was not identified during the assessment. That does not mean exploitation is impossible or that the issue is low risk.

The vulnerability description provides enough technical detail to make crafted requests plausible, including requests designed to extract data or introduce database delays. Defenders should not treat the absence of a KEV listing or known PoC as a reason to defer patching.

Indicators to Review

Track the following indicators during triage:

  • Requests to the Bazar entries search API containing backticks in query or searchfields
  • SQL keywords, subquery-like syntax, or database functions such as SLEEP()
  • Repeated search requests from one source or multiple rotating sources
  • Search requests with unusually high response times or repeated timeouts
  • Database activity involving account, credential, or password-hash tables that does not match normal application behavior

Because no confirmed exploitation signature was supplied, these indicators are heuristic rather than a validated CVE-specific signature. Correlate web requests with database audit events and response latency.

ResponderRunbook · act now

How to Detect the YesWiki Vulnerability

Begin with web-server and reverse-proxy logs. Identify the route used by the Bazar entries search API in the local deployment, then search requests for suspicious parameter content. Logging formats differ, so the examples below are starting points rather than universal signatures. URL decoding may be required before matching backticks or SQL keywords.

A useful detection hypothesis is an unauthenticated request to the Bazar search endpoint where query or searchfields contains SQL metacharacters or timing functions. A single match is not proof of exploitation. Repeated matches, database delays, and abnormal response sizes should be escalated.

Example Log Searches

Example command-line triage against a URL-decoded or access-log export:

grep -Eai \
  '(/bazar|bazar.*search|searchfields|query).*(%60|`|SLEEP[[:space:]]*\\(|SELECT|UNION|SUBSELECT|information_schema)' \
  /var/log/nginx/access.log

If the access log records encoded parameters, inspect common encodings separately:

grep -Eai \
  'searchfields=.*(%60|%27|%22)|query=.*(%60|%27|%22)|SLEEP(%28|%2528)' \
  /var/log/nginx/access.log

For structured logs in an Elasticsearch-compatible environment, an illustrative query is:

http.request.uri.query:(
  *searchfields* OR *query*
) AND http.request.uri.query:(
  *%60* OR *`* OR *SLEEP* OR *UNION* OR *SELECT*
)

The exact field names and query syntax depend on the logging platform. Also review database logs for unusual SLEEP() calls, unexpected reads from user-account tables, or query latency spikes that align with suspicious HTTP requests.

If database general logging was disabled, the absence of evidence in those logs does not clear the system.

Mitigation and Patching

Upgrade affected 4.x installations to YesWiki 4.7.0 or later. Upgrade affected 5.x alpha installations to YesWiki 5.0.0-alpha4 or later, using the supported upgrade path for the deployment branch.

The supplied research does not establish whether every later release is supported for every installation. Administrators should select a vendor-supported release that includes the correction rather than copying files from an unrelated branch.

Before upgrading:

  1. Back up the YesWiki application configuration and database.
  2. Document the current version and deployment method.
  3. Test the target release where possible.
  4. Confirm the supported upgrade path.
  5. Preserve relevant logs before making changes.

After the upgrade, confirm that the running web root and PHP process are using the corrected files. A package or container may have been updated while an older application directory remains active, so validate the deployed artifact rather than relying only on the package manager’s result.

Git-Managed Deployment Example

For a Git-managed deployment, an illustrative update sequence is:

cd /var/www/yeswiki

# Confirm the current state and create a rollback reference.
git status --short
git describe --tags --always
git tag "pre-CVE-2026-116207-$(date +%Y%m%d%H%M%S)"

# Fetch release metadata, then select the approved fixed release.
git fetch --tags --prune
git checkout 4.7.0

# Run the deployment's documented dependency, migration, cache, and service steps.

Do not run this blindly on a production installation. The correct branch, tag, dependency commands, ownership, and migration process depend on how YesWiki was deployed.

For a 5.x alpha deployment, select 5.0.0-alpha4 or later instead of 4.7.0. If the installation is archive- or package-managed, use the corresponding supported upgrade mechanism.

Temporary Exposure Reduction

Until patching is complete:

  • Restrict access to the Bazar entries search API at a trusted reverse proxy or application firewall, where appropriate.
  • Limit exposure to known networks if business requirements permit.
  • Monitor requests to the endpoint closely.
  • Avoid relying on generic keyword blocking, because encoding variations and SQL syntax can bypass simplistic filters.

These are temporary controls, not a substitute for upgrading.

Also review the database account used by YesWiki. Remove unnecessary permissions and ensure the account cannot access unrelated administrative databases or tables. If logs indicate that password hashes or other credential material may have been read, rotate affected credentials and invalidate sessions according to the organization’s incident-response procedures. Investigate before deleting evidence.

Organizations evaluating endpoint protection alongside application controls may also find this EDR buyers’ guide for macOS useful for broader workstation visibility.

Incident-Response Checklist

If suspicious activity is found:

  1. Preserve web-server, reverse-proxy, application, and database logs.
  2. Record affected YesWiki versions, hosts, IP addresses, and database instances.
  3. Upgrade to a fixed version using the supported deployment process.
  4. Review database access for user, credential, and password-hash tables.
  5. Check for unusual account creation, privilege changes, or configuration changes.
  6. Rotate potentially exposed credentials and invalidate sessions.
  7. Review authentication logs for follow-on activity.
  8. Document whether data access or service degradation was confirmed.
  9. Continue monitoring after remediation.

Do not assume that a successful upgrade removes evidence of earlier exploitation. Retain relevant artifacts according to the organization’s incident-response and legal requirements.

References

The primary reference is the NVD record for CVE-2026-116207:

The YesWiki GitHub Security Advisory pages provide project-specific advisory context:

Additional vulnerability information is available from VulnCheck:

For exploitation-status verification, consult the CISA catalog directly:

At the time covered by this assessment, CVE-2026-116207 was not listed in CISA KEV, and no verified in-the-wild exploitation or CVE-specific public PoC had been identified. Recheck these sources before publishing an updated incident or exposure assessment.

This article may contain affiliate links. We earn a commission on qualifying purchases at no extra cost to you.

Last verified: 2026-10-25

Disclaimer: This article may contain affiliate links. We earn a commission on qualifying purchases at no extra cost to you.