Skip to content
Heist/ feed
Back to feed
HighFix available

ktexteditor — security advisory

Type: advisorySources: OSVAdvisory ID: DEBIAN-CVE-2018-10361

An issue was discovered in KTextEditor 5.34.0 through 5.45.0. Insecure handling of temporary files in the KTextEditor's kauth_ktexteditor_helper service (as utilized in the Kate text editor) can allow other unprivileged users on the local system to gain root privileges. The attack occurs when one user (who has an unprivileged account but is also able to authenticate as root) writes a text file using Kate into a directory owned by a another unprivileged user. The latter unprivileged user conducts a symlink attack to achieve privilege escalation.

Products
ktexteditor
Affected versions
Not specified
Fixed versions
5.47.0-1
CVEs
CVE-2018-10361
Confirmed fixed CVEs
Not specified
Updated in this feed
1 Nov 2026, 01:32 UTC · Revision 1

Source evidence

DEBIAN-CVE-2018-10361

core-osv · Original source

Published 25 Apr 2018, 05:29 UTC

An issue was discovered in KTextEditor 5.34.0 through 5.45.0. Insecure handling of temporary files in the KTextEditor's kauth_ktexteditor_helper service (as utilized in the Kate text editor) can allow other unprivileged users on the local system to gain root privileges. The attack occurs when one user (who has an unprivileged account but is also able to authenticate as root) writes a text file using Kate into a directory owned by a another unprivileged user. The latter unprivileged user conducts a symlink attack to achieve privilege escalation.

osv:DEBIAN-CVE-2018-10361

ktexteditor

Fixed versions: 5.47.0-1

ktexteditor

Fixed versions: 5.47.0-1

ktexteditor

Fixed versions: 5.47.0-1

Complete source record
{
  "id": "a521cc442e2ac0edceb4a29eba0b98458d7e9cad270912a5f8f401c58525edc8",
  "url": "https://osv.dev/vulnerability/DEBIAN-CVE-2018-10361",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "DEBIAN-CVE-2018-10361",
    "summary": "An issue was discovered in KTextEditor 5.34.0 through 5.45.0. Insecure handling of temporary files in the KTextEditor's kauth_ktexteditor_helper service (as utilized in the Kate text editor) can allow other unprivileged users on the local system to gain root privileges. The attack occurs when one user (who has an unprivileged account but is also able to authenticate as root) writes a text file using Kate into a directory owned by a another unprivileged user. The latter unprivileged user conducts a symlink attack to achieve privilege escalation.",
    "evidence": "osv:DEBIAN-CVE-2018-10361",
    "products": [
      {
        "name": {
          "value": "ktexteditor",
          "evidence": "/affected/0/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "5.47.0-1",
            "evidence": "/affected/0/ranges"
          }
        ],
        "affected_versions": []
      },
      {
        "name": {
          "value": "ktexteditor",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "5.47.0-1",
            "evidence": "/affected/1/ranges"
          }
        ],
        "affected_versions": []
      },
      {
        "name": {
          "value": "ktexteditor",
          "evidence": "/affected/2/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "5.47.0-1",
            "evidence": "/affected/2/ranges"
          }
        ],
        "affected_versions": []
      }
    ],
    "severity": "high",
    "structured": {
      "id": "DEBIAN-CVE-2018-10361",
      "aliases": [
        "DEBIAN-CVE-2018-10361"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "5.47.0-1"
                }
              ]
            }
          ],
          "package": {
            "name": "ktexteditor",
            "purl": "pkg:deb/debian/ktexteditor?arch=source&distro=bookworm",
            "ecosystem": "Debian:12"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2018-10361.json"
          },
          "ecosystem_specific": {
            "urgency": "not yet assigned"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "5.47.0-1"
                }
              ]
            }
          ],
          "package": {
            "name": "ktexteditor",
            "purl": "pkg:deb/debian/ktexteditor?arch=source&distro=trixie",
            "ecosystem": "Debian:13"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2018-10361.json"
          },
          "ecosystem_specific": {
            "urgency": "not yet assigned"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "5.47.0-1"
                }
              ]
            }
          ],
          "package": {
            "name": "ktexteditor",
            "purl": "pkg:deb/debian/ktexteditor?arch=source&distro=forky",
            "ecosystem": "Debian:14"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2018-10361.json"
          },
          "ecosystem_specific": {
            "urgency": "not yet assigned"
          }
        }
      ],
      "modified": "2026-10-23T18:04:46.853066107Z",
      "provider": "osv",
      "upstream": [
        "CVE-2018-10361"
      ],
      "references": [
        "https://security-tracker.debian.org/tracker/CVE-2018-10361"
      ]
    },
    "related_cves": [
      {
        "value": "CVE-2018-10361",
        "evidence": "/upstream"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 423718,
  "published_at": "2018-04-25T05:29:00.237+00:00"
}