/

CVE-2026-85137

Severity:

HIGH RISK

(7.3)

Code Injection (CWE-94) in SeaCMS Locoy Collector PHP

CVE-2026-85137

Deferred

Vulnerability type

Category:

Code Injection

CWE:

CWE-74, CWE-94

Impact:

Potential remote code execution

Severity:

HIGH RISK

(7.3)

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

A high-severity code injection vulnerability in SeaCMS affects the Locoy Collector's handling of the pwd argument in seacms_locoy_news.php. An attacker who can reach the affected function remotely may cause attacker-controlled input to be interpreted as executable code.

Affected context

The vulnerability occurs in SeaCMS deployments using the Locoy Collector component and the affected parseIf function. Risk is present when the pwd argument is accepted from a remotely reachable request and is incorporated into an execution-sensitive operation without adequate separation, validation, or encoding.

Exploit preconditions

  • Attack surface: The remotely reachable Locoy Collector functionality
  • Required access: Network access to the affected endpoint; prior authentication may depend on deployment configuration
  • Trigger point: Processing of the pwd argument by the parseIf function
  • Why exploitation is possible: Attacker-controlled input reaches a code-sensitive context and may be interpreted as executable logic

Why this happens

The underlying bug is an injection flaw in which externally controlled data is placed into a context that can interpret it as program code. This maps primarily to CWE-94: Improper Control of Generation of Code, with CWE-74: Improper Neutralization of Special Elements in Output Used by a Downstream Component describing the broader injection pattern. The insecure design fails to maintain a strict boundary between data and executable instructions.

Potential impact

  • An attacker may execute unauthorized code in the SeaCMS process context.
  • The application could be compromised or disrupted.
  • Sensitive application data may be accessed or altered.
  • The server could be used for further unauthorized activity, depending on its privileges and network position.

General mitigation guidance

Mitigation generally centers on preventing request data from reaching

executable or interpreter-sensitive contexts.

Common defensive patterns include:

  • Treating the pwd value as data and applying allowlist validation against the expected format.
  • Replacing dynamic code-generation or evaluation behavior with fixed control-flow logic.
  • Using parameterized interfaces and context-appropriate encoding where downstream processing is unavoidable.
  • Enforcing authentication and authorization around collector functionality.
  • Running the application with least-privilege permissions and isolating it from sensitive system resources.
  • Applying restrictive network policies and minimizing exposure of administrative or collector endpoints.

How teams detect issues like this

Organizations can assess for this issue through:

  • Static analysis rules that identify request parameters reaching evaluation, interpretation, or dynamic code-generation APIs.
  • Code review checks for concatenation of HTTP parameters into executable expressions or interpreter inputs.
  • Runtime monitoring for unusual requests to Locoy Collector endpoints and anomalous child processes spawned by the web application.
  • Web application firewall or gateway policies that restrict unexpected input patterns while preserving application functionality.
  • Automated security review tools that flag injection-sensitive data flows for manual verification.

Sources

SourceLink
github.comgithub.com/T-Chachamaru/seacms-13.6-security-advisories/blob/a084a3e573240d54860153321df271280daec262/d-001-locoy-default-password-template-rce.md
vuldb.comvuldb.com/cve/CVE-2026-85137
vuldb.comvuldb.com/submit/892792
vuldb.comvuldb.com/vuln/398364
vuldb.comvuldb.com/vuln/398364/cti

Frequently asked

questions

It may be remotely exploitable when the affected Locoy Collector functionality

is network-accessible and accepts attacker-controlled input without sufficient

authorization or isolation.

Authentication requirements depend on the deployment's access controls. The

key condition is whether an attacker can reach the vulnerable function and

influence the pwd argument.

Keep the argument in a data-only context, apply strict allowlist validation,

and remove dynamic evaluation or code-generation behavior from the request

processing path.

Use secure coding standards for injection-sensitive operations, perform

taint-flow analysis during review, restrict endpoint exposure, and run

application services with minimal privileges.

Find out what's already
exploitable in your codebase.