Skip to main content

seffaflik CVE-2025-61035

HIGH
Incorrect Default Permissions (CWE-276)
2025-10-22 cve@mitre.org
7.7
CVSS 3.1 · Vendor: mitre
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Obtain unprivileged local account on host
  2. Exploit
    Pre-place symlink at .kimlik path
  3. Execution
    Victim seffaflik writes through symlink
  4. Impact
    Arbitrary file overwrite and credential disclosure

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V13 - Configuration Default permission hardening
MITRE ATT&CK

1 technique across 1 tactic: Privilege Escalation

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Requires an untrusted local user account on the same host where a victim executes seffaflik (through 0.0.9) and authenticates, causing creation of the .kimlik and .seffaflik files. Information disclosure follows automatically because those files are created with mode 0777 and 0775, making stored secrets readable by any local user. The arbitrary-file-overwrite path additionally requires the attacker to pre-place a symlink at the .kimlik path before the victim's process writes it, since the write performs no symlink check. Limiting factors: no remote vector (local only), the host must be multi-user/shared with an untrusted local user, and the victim must actually run the tool and authenticate; single-user or isolated-container deployments are not realistically exposed.

Impact

Signals point to a genuine-but-contained local issue rather than an urgent widespread threat. The CVSS vector (AV:L/AC:L/PR:N/UI:N) scores 7.7 High, but the Local attack vector is the dominant limiter: exploitation requires an attacker to already have an unprivileged account on the same host where a victim runs seffaflik. Corroborating this low real-world urgency, EPSS is only 0.15% (4th percentile) and there is no CISA KEV listing and no public exploit identified at time of analysis; the vuln.today decision label is 'this_week', consistent with a tractable fix rather than an emergency. A clear internal inconsistency must be flagged: the supplied CVSS vector sets C:N, yet the description explicitly says the 0777/0775 permissions are 'exposing secrets to other local users' and names 'information disclosure' as an impact - the official vector appears to understate confidentiality and should be verified, as a world-readable .kimlik credential file is a confidentiality loss. Net: a real priority for multi-user/shared hosts running this library, but a high-CVSS-but-low-real-risk item for the common single-user or containerized deployment where no untrusted local user is present.

Exploit ScenarioDerived

On a shared multi-user host, a victim runs seffaflik, which writes a .kimlik credential file world-readable/writable (0777) and a .seffaflik file (0775); any other local user can then read the stored secrets. Alternatively, a local attacker pre-places a symlink at the .kimlik path and, because the file is written without symlink checks, the victim's process follows it and overwrites an arbitrary file the victim can write, causing denial of service. No public exploit identified at time of analysis.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
No patch listed yet 0.1% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Oct 28, 2026

Symlink and default-permission flaws in the seffaflik Python package (through 0.0.9) let any local user on a shared host read the secrets stored in the .kimlik and .seffaflik files, which are created with modes 0777 and 0775, and - by pre-placing a symlink at the .kimlik path - cause the victim's process to overwrite arbitrary files, giving both information disclosure and denial of service. The issue is strictly local: it requires an untrusted local account on a multi-user host where the victim runs the tool and authenticates so those files are created. No public exploit code has been identified at time of analysis, the EPSS score is 0.15% (4th percentile), and there is no CISA KEV entry; the reported priority is this_week, reflecting contained-but-real local exposure rather than widespread threat.

RemediationAI

No vendor-released patch was identified at time of analysis: the available references point to the upstream repository, its issue #3, the PyPI project page, and a VulDB advisory, none of which list a fixed version, so the highest version confirmed affected is 0.0.9. Until an upstream fix ships, the most effective control is deployment isolation - run seffaflik in a single-user container, VM, or dedicated service account where no untrusted local user can log in, which eliminates both the read exposure and the symlink pre-placement window, at the cost of extra operational overhead per environment. Where the tool must run on a shared host, pre-create both .kimlik and .seffaflik as the running user with mode 0600 before first use so no other local account can read them or replace the path with a symlink; the trade-off is that this only holds if the tool does not re-chmod the files on subsequent writes, which is not confirmed by the available sources, so verify permissions after each run. Restricting interactive shell access on the host to trusted users (or giving the tool a private home directory on a filesystem only that account can traverse) removes the attacker prerequisite entirely; monitor the upstream repository and issue #3 for a release that sets restrictive modes and performs a symlink-safe write, and upgrade as soon as a fixed version is published. Note that the disclosure exposure is inherent to the 0777/0775 creation modes, so permission hardening on the files after creation cannot undo any window during which another local user already read them - rotate any credentials stored in those files if the host has hosted untrusted accounts.

Affected ProductsAI

The seffaflik Python package is affected through version 0.0.9 inclusive, distributed via PyPI (https://pypi.org/project/seffaflik/) with source at https://github.com/nurisensoy/seffaflik; no CPE strings were provided in the available intelligence, so version matching must be done against the installed package version reported by pip rather than an automated CPE query. The flaw is triggered when an affected installation creates .kimlik (mode 0777) and .seffaflik (mode 0775) after a user authenticates on a host that also has untrusted local accounts. The upstream issue tracker entry https://github.com/nurisensoy/seffaflik/issues/3 documents the report, and a third-party advisory is at https://vuldb.com/vuln/329418; no fixed release version is stated in any of the supplied references.

Affects your stack

Find out whether the stacks and servers you run are on an affected version.

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The root cause class is CWE-276 (Incorrect Default Permissions) combined with a missing symlink check in file creation. The package writes two credential-bearing files into a predictable location: .kimlik is created with mode 0777 and .seffaflik with mode 0775, so on any multi-user system every local account can read - and, for the 0777 file, modify - the stored secrets regardless of the victim's intent. Separately, the .kimlik write path follows symlinks, so an attacker who can pre-create a symbolic link at that predictable path before the victim's process writes it can redirect the write to an arbitrary file with the victim's privileges. The assessed vector CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H reflects that no privileges are required beyond a local account, no user interaction beyond the victim's normal use of the tool is needed for the disclosure, and both confidentiality and integrity are impacted; the initially published NVD vector scored confidentiality as none, while the independent assessment rates it high because the secrets are world-readable by design of the file modes. Affected deployments are those where the tool runs on a shared host with untrusted local users; single-user workstations and isolated containers are not realistically exposed. No CPE identifiers were supplied in the intelligence feed, so product identification rests on the PyPI package name and the upstream GitHub repository.

Know when Python gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (mitre) PRIMARY 7.7 HIGH
AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H
vuln.today AI 8.4 HIGH

Any local user can read world-readable secrets (C:H, correcting the input's C:N) and symlink-overwrite arbitrary victim files (I:H/A:H); local, unprivileged, no interaction.

3.1 AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
4.0 AV:L/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (mitre).

CVSS VectorVendor: mitre

Attack Vector
Local
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
High
Availability
High

DescriptionCVE.org

The seffaflik thru 0.0.9 is vulnerable to symlink attacks due to incorrect default permissions given to the .kimlik file and .seffaflik file, which is created with mode 0777 and 0775 respectively, exposing secrets to other local users. Additionally, the .kimlik file is written without symlink checks, allowing local attackers to overwrite arbitrary files. This can result in information disclosure and denial of service.

Executive ViewAI

Why It Matters

The seffaflik Python package, used internally for authentication, creates credential files with overly permissive permissions, allowing any local user on a shared host to read secrets and potentially overwrite arbitrary files. This vulnerability affects teams running the tool on multi-user systems, risking unauthorized access to sensitive credentials and disruption of victim processes. While no active exploitation has been observed, the high CVSS score and local exposure warrant prompt remediation to prevent insider threats or lateral movement.

Business Impact: Medium
Compensating Controls

No vendor-released patch identified at time of analysis. Interim mitigations: restrict local account access to trusted users, set umask 0077 for seffaflik users, manually set permissions on .kimlik and .seffaflik to 0600, remove any symlinks at .kimlik, and isolate seffaflik usage to dedicated single-user hosts.

Threat Intelligence Overview

EPSS Score
0.1%
Top 96% exploitable
Prevalence
Rare
obscure niche Python PyPI library for Turkish energy-market data
Data Quality
5 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.1%
Patch available No
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Defer
Exploitation· derived
None
System Exposure· derived
Small
Automatable· derived
No
Human Impact
Medium

Priority Score

38
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +38
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Privilege escalation occurs when an attacker leverages flaws in access control mechanisms to gain permissions beyond what they were originally granted.

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.

More in Python

View all
CVE-2025-24016 CRITICAL POC
9.9 Feb 10

Wazuh SIEM platform versions 4.4.0 through 4.9.0 contain an unsafe deserialization vulnerability in the DistributedAPI t

CVE-2025-27520 CRITICAL POC
9.8 Apr 04

BentoML version 1.4.2 and earlier contains an unauthenticated remote code execution vulnerability through insecure deser

CVE-2025-2945 CRITICAL POC
9.9 Apr 03

pgAdmin 4 contains critical remote code execution vulnerabilities in the Query Tool download and Cloud Deployment endpoi

CVE-2013-5093 MEDIUM POC
6.8 Sep 27

The renderLocalView function in render/views.py in graphite-web in Graphite 0.9.5 through 0.9.10 uses the pickle Python

CVE-2025-32375 CRITICAL POC
9.8 Apr 09

BentoML is a Python library for building online serving systems optimized for AI apps and model inference. Rated critica

CVE-2014-0224 HIGH POC
7.4 Jun 05

OpenSSL before 0.9.8za, 1.0.0 before 1.0.0m, and 1.0.1 before 1.0.1h does not properly restrict processing of ChangeCiph

CVE-2024-21644 HIGH POC
7.5 Jan 08

pyLoad download manager version prior to 0.5.0b3.dev77 exposes the Flask SECRET_KEY through an unauthenticated endpoint.

CVE-2026-33017 CRITICAL POC
9.3 Mar 17

Langflow (a visual LLM pipeline builder) contains a critical unauthenticated code execution vulnerability (CVE-2026-3301

CVE-2017-9462 HIGH POC
8.8 Jun 06

In Mercurial before 4.1.3, "hg serve --stdio" allows remote authenticated users to launch the Python debugger, and conse

CVE-2026-49869 CRITICAL POC
10.0 Jun 26

Unauthenticated remote code execution affects Kestra OSS (the open-source event-driven orchestration platform) prior to

CVE-2026-39987 CRITICAL POC
9.3 Apr 08

Unauthenticated remote code execution in Marimo ≤0.20.4 allows attackers to execute arbitrary system commands via the `/

CVE-2024-21645 MEDIUM POC
5.3 Jan 08

pyLoad is the free and open-source Download Manager written in pure Python. Rated medium severity (CVSS 5.3), this vulne

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy