BreachSpiderVerified, not vibes

CVE-2013-1866 in Opensc-Project Opensc and 1 more product

Medium 6.1

OpenSC OpenSC.tokend has an Arbitrary File Creation/Overwrite Vulnerability

Affects 2 products from 2 vendors. Facts below cite their sources.

CVSS 3.16.1
EPSS0.4%
EPSS percentile28th
FixUnknown

Requires physical access, low complexity, no authentication required, no user interaction needed, impact contained to the vulnerable component, no confidentiality impact, full integrity impact, full availability impact.

Affected products and versions

VendorProductAffected versions
Opensc-Project Opensc —
Opensc Project Opensc < 0.13.0

Platforms listed by the source (the vulnerable product runs on these; they are not themselves vulnerable): Apple Mac Os X

A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.

Fix and vendor advisory

No official vendor advisory link on record. See the CVE record.

Exploitation

CISA known-exploitedNot in the CISA KEV catalog
Public exploitNot confirmed

Official description

OpenSC OpenSC.tokend has an Arbitrary File Creation/Overwrite Vulnerability

Source: NIST NVD / MITRE CVE.

Record details

CVE IDCVE-2013-1866
BreachSpider IDBS-2020-GLOBAL-094141-M
CVSS vectorCVSS:3.1/AV:P/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H
Published2020-01-30
Last modified2024-11-21
Weakness (CWE)
SourceNVD

Weakness definitions

CWE-59: Improper Link Resolution Before File Access

Software follows symbolic links without verifying the target, allowing read, write, or delete of unintended files.

Related attack patterns (CAPEC)

CAPEC-35 Leverage Executable Code in Non-Executable Files via CWE-59

CAPEC-76 Manipulating Web Input to File System Calls via CWE-59

CAPEC-132 Symlink Attack via CWE-59

CAPEC-17 Using Malicious Files via CWE-59

Mapping is CWE to CAPEC per MITRE CAPEC 3.9.

Analysis AI-written, not human-reviewed

OpenSC OpenSC.tokend is vulnerable to an Arbitrary File Creation/Overwrite vulnerability, which could allow an attacker to create or overwrite files with the permissions of the user running the application.

The vulnerability arises from improper validation of file paths when creating or overwriting files. An attacker could exploit this by providing a malicious file path, leading to unauthorized file creation or overwriting.

Questions

What is CVE-2013-1866?

OpenSC OpenSC.tokend is vulnerable to an Arbitrary File Creation/Overwrite vulnerability, which could allow an attacker to create or overwrite files with the permissions of the user running the application.

What is the CVSS score for CVE-2013-1866?

CVE-2013-1866 has CVSS 6.1 (Medium). Vector: CVSS:3.1/AV:P/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H. EPSS: 0.4%.

Is CVE-2013-1866 actively exploited?

No confirmed active exploitation of CVE-2013-1866 as of 2026-05-30.

How do I remediate CVE-2013-1866?

Priority: MEDIUM.

What systems are affected by CVE-2013-1866?

CVE-2013-1866 affects Opensc-Project Opensc.

For developers and AI agents

Run this check from your own code or agent

REST API

curl -s https://breachspider.com/api/v1/assets/correlate-cves \
 -H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
 -H "Content-Type: application/json" \
 -d '{"assets":[{"asset_id":"dev-1","vendor":"Opensc-Project","product":"Opensc","version":"1.0"}]}'

API reference

Python SDK

pip install breachspider

PyPI · GitHub

MCP for AI agents

# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp

Setup for Claude, ChatGPT, Cursor

Free trial: 14 days, 750 device checks, no card.

Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2024-11-21.