GHSA-8774-J92H-Q63R

Vulnerability from github – Published: 2026-11-24 21:31 – Updated: 2026-11-24 21:31
VLAI
Details

When sftpEnabled=true (the default configuration in etc/org.apache.karaf.shell.cfg), the SSH server exposes the karaf.base directory tree through the MINA SSHD SFTP subsystem and SCP command factory without verifying the authenticated user's roles beyond the initial sshRole login check. Consequently, an authenticated user with only low-privileged roles (such as viewer and ssh) can read sensitive configuration and key files (including etc/users.properties and etc/host.key) or write arbitrary bundles/configurations into monitored directories (such as deploy/ or etc/), leading to privilege escalation and arbitrary code execution.

Apache Karaf 4.4.13 and 4.5.0 introduce the sftpRole configuration property in org.apache.karaf.shell (defaulting to admin) and enforce role-based access control on SFTP subsystem creation, SCP command execution, and virtual filesystem access.

Mitigation / WorkaroundUsers are recommended to upgrade to Apache Karaf 4.4.13 or 4.5.0.

On earlier versions where SFTP/SCP access is not required, set sftpEnabled=false in etc/org.apache.karaf.shell.cfg and restart the SSH server bundle (or Karaf instance).

Show details on source website

{
  "affected": [],
  "aliases": [
    "CVE-2026-129959"
  ],
  "database_specific": {
    "cwe_ids": [
      "CWE-862"
    ],
    "github_reviewed": false,
    "github_reviewed_at": null,
    "nvd_published_at": "2026-11-24T19:18:08Z",
    "severity": "HIGH"
  },
  "details": "When\u00a0sftpEnabled=true\u00a0(the default configuration in\u00a0etc/org.apache.karaf.shell.cfg), the SSH server exposes the\u00a0karaf.base\u00a0directory tree through the MINA SSHD SFTP subsystem and SCP command factory without verifying the authenticated user\u0027s roles beyond the initial\u00a0sshRole\u00a0login check. Consequently, an authenticated user with only low-privileged roles (such as\u00a0viewer\u00a0and\u00a0ssh) can read sensitive configuration and key files (including\u00a0etc/users.properties\u00a0and\u00a0etc/host.key) or write arbitrary bundles/configurations into monitored directories (such as\u00a0deploy/\u00a0or\u00a0etc/), leading to privilege escalation and arbitrary code execution.\n\n\nApache Karaf\u00a04.4.13\u00a0and\u00a04.5.0\u00a0introduce the\u00a0sftpRole\u00a0configuration property in\u00a0org.apache.karaf.shell\u00a0(defaulting to\u00a0admin) and enforce role-based access control on SFTP subsystem creation, SCP command execution, and virtual filesystem access.\n\nMitigation / WorkaroundUsers are recommended to upgrade to Apache Karaf\u00a04.4.13\u00a0or\u00a04.5.0.\n\n\n\n\nOn earlier versions where SFTP/SCP access is not required, set\u00a0sftpEnabled=false\u00a0in\u00a0etc/org.apache.karaf.shell.cfg\u00a0and restart the SSH server bundle (or Karaf instance).",
  "id": "GHSA-8774-j92h-q63r",
  "modified": "2026-11-24T21:31:06Z",
  "published": "2026-11-24T21:31:06Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-129959"
    },
    {
      "type": "WEB",
      "url": "https://lists.apache.org/thread/h5458p0jjn5o29hbymolrrlhcmkn053d"
    },
    {
      "type": "WEB",
      "url": "http://www.openwall.com/lists/oss-security/2026/11/24/5"
    }
  ],
  "schema_version": "1.4.0",
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
      "type": "CVSS_V3"
    }
  ]
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.

Loading…

Loading…

Loading…

Related by attack behaviour

Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.


Loading…