/

CVE-2026-129125

Severity:

HIGH RISK

(8.1)

Authorization Bypass (CWE-863) in C-Kermit Remote Query

CVE-2026-129125

Deferred

Vulnerability type

Category:

Authorization Bypass

CWE:

CWE-863

Impact:

Remote Code Execution

Severity:

HIGH RISK

(8.1)

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

C-Kermit has an authorization bypass in remote query and command evaluation that can let a client run shell commands on a server, even when host commands are disabled. The risk arises when a server processes crafted remote requests that reach command execution paths despite restrictions such as DISABLE HOST and nopush.

Affected context

The issue affects C-Kermit versions described as 6.0.192 and releases before 11.1.515. It occurs in server-side handling of remote query evaluation and related macro execution when those paths can reach shell-command functionality despite host-command restrictions.

Exploit preconditions

  • Attack surface: C-Kermit server protocol handling
  • Required access: The ability to send remote requests to the server; whether authentication is required depends on deployment configuration.
  • Trigger point: Processing a REMOTE QUERY or a remotely defined and invoked macro that reaches command execution.
  • Why exploitation is possible: Remote evaluation paths can bypass restrictions intended to disable host commands, including DISABLE HOST and nopush.

Why this happens

The underlying issue is an authorization check failure, mapped to CWE-863: Incorrect Authorization. Remote query and macro evaluation can reach command-execution functionality without consistently enforcing the server's host-command restrictions. As a result, a disabled operation may remain reachable through an alternate evaluation path.

Potential impact

  • A remote client may execute shell commands on the server.
  • Server processes or data may be compromised or altered.
  • An attacker could use the server's privileges to access other resources.
  • The incident may disrupt services or enable further compromise, depending on the server's permissions and environment.

General mitigation guidance

Mitigation generally focuses on enforcing authorization consistently across every path that can invoke host commands.

Common defensive patterns include:

  • Denying command execution by default and allowing it only through explicit, narrowly scoped policy.
  • Applying the same authorization checks to remote queries, macros, and indirect execution paths.
  • Reducing exposure to untrusted remote clients and limiting their capabilities.
  • Running the server with the least privileges needed for its intended tasks.
  • Treating protocol input as untrusted and avoiding evaluation paths that can invoke operating-system commands.

How teams detect issues like this

High-level review and monitoring can focus on:

  • Static analysis for remote-input paths that reach command execution or macro evaluation.
  • Code review of authorization checks around REMOTE QUERY, REMOTE ASSIGN, and execution-related functionality.
  • Policy tests confirming that host-command restrictions apply consistently across direct and indirect invocation paths.
  • Monitoring server activity for unexpected remote requests or shell-command execution.

Sources

SourceLink
github.comgithub.com/OpenKermit/ckermit/blob/v11.0.514/ckcpro.w#L2544
github.comgithub.com/OpenKermit/ckermit/commit/85ef1da670cee132ea2d8e4eb759bab310ff73c9
github.comgithub.com/OpenKermit/ckermit/releases/tag/v11.1.515
github.comgithub.com/OpenKermit/ckermit/security/advisories/GHSA-c5px-7h4c-gj8p
vulncheck.comvulncheck.com/advisories/c-kermit-6.0.192-before-11.1.515-command-execution-via-remote-query

Frequently asked

questions

Yes. A client able to send relevant remote requests to an exposed C-Kermit server may reach command execution despite host-command restrictions.

The client needs access to the server's remote protocol interface. The supplied details do not establish whether authentication is required, so this depends on deployment configuration.

Ensure every path to host-command execution applies the same authorization policy, with command execution denied by default.

Test restrictions across direct and indirect execution paths, review remote-input flows for command-capable evaluation, and limit the privileges and network exposure of the server.

Find out what's already
exploitable in your codebase.