Incorrect Authorization Affecting openharness-ai package, versions [,0.1.6)


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.13% (3rd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Incorrect Authorization vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-PYTHON-OPENHARNESSAI-16121382
  • published22 Apr 2026
  • disclosed7 Apr 2026
  • creditChia Min Jun Lennon

Introduced: 7 Apr 2026

CVE-2026-22682  (opens in a new tab)
CWE-863  (opens in a new tab)

How to fix?

Upgrade openharness-ai to version 0.1.6 or higher.

Overview

openharness-ai is an Open-source Python port of Claude Code - an AI-powered CLI coding assistant

Affected versions of this package are vulnerable to Incorrect Authorization due to inconsistent parameter handling in permission enforcement within the read_file, write_file, edit_file, and notebook_edit tools. An attacker can access sensitive files outside the intended repository scope or create and overwrite files in restricted host paths by exploiting the lack of proper permission checks on the path parameter when influencing agent tool execution.

CVSS Base Scores

version 4.0
version 3.1