MCP ScannerCustom audit
All servers

BiboyQG/WeChat-MCP

WeChat-MCP: let Openclaw/Claude/ChatGPT and other AI assistants read and reply to WeChat for you

Packagewechat-mcp-server
Version0.2.0 in pyproject.toml
PublisherBiboyQG community
MCP Registrynot listed
Scanned2026-11-25
Scannerv1.3.0
Methodologyv1.2
Stars 299Forks 89Last push 2026-03-09
Python 100.0%by source files the scanner reads
Code safety10.0Exposure9.5Prompts10.0Supply chain2.0Secrets10.0Transparency10.0
Analysis confidence97%
How much of the server the scanner could read: tools analyzed, files parsed, limits hit.
Code Safetynothing published yet10.0/10

Paths from tool input into commands, SQL, files and URLs

Capability Exposure9.5/10Good

How much power the tools give an agent over the machine

Prompt Integritynothing published yet10.0/10

Hidden instructions and poisoning in text for the model

Supply Chain2.0/10Poor

Known vulnerabilities in the packages the server uses

Secrets & Credentialsnothing published yet10.0/10

How the server reads credentials and where they can go

Behavior Transparencynothing published yet10.0/10

Whether the tools do only what their descriptions say

Top risks in plain words

  • CRITICAL12 production dependencies have known vulnerabilities (worst: critical).

How to use it safely

Practical steps from what we found in this server. They lower the risk; they do not replace a review of the code.

  • Update its vulnerable packages

    Use anyio 4.14.2 or later, certifi 2026.10.18 or later, cryptography 50.0.0 or later, idna 3.15 or later and 8 more.

  • Keep confirmations on

    Leave your MCP client's confirmation prompt on for tools that change files, run commands or send data.

What its tools can do on your machine

The server offers 4 tools. When an AI agent calls them, this is what their code can do on the machine where the server runs, as traced in the source. Tools that call code the scanner could not follow may do more.

Read or write filesopen, create, change or delete files
fetch_messages_by_chat, reply_to_messages_by_chat
2 of 4
Connect to the internet or other hostssend requests or open connections
fetch_messages_by_chat
1 of 4

No tool was seen to: start other programs on the machine; read passwords, tokens or keys; read environment variables; touch sensitive locations.

Where its requests and secrets go

Read from the names along each tool's calls, not from a run: what the code says, not every address it may reach at run time.

Hosts written in the code

The literal addresses the tools' requests name.

  • None: no request names a fixed host.
Addresses from settings

Constants or settings that start an address; the value comes from configuration.

  • None seen.
Secrets it reads

Credential-like environment variables. Give the server a key with the least access it needs.

  • None: no credential-like variable is read by the tools.

Text it brings in from outside

Text that reaches the model from outside: an instruction hidden in it can steer the agent (prompt injection). Treat what these tools return as data, not as orders.

  • files2 tools · fetch_messages_by_chat, reply_to_messages_by_chat
Reads private data2 tools
Takes text from outside0 tools
Can send data out0 tools

Not all three are present in the tools the scanner traced.

Tool annotations

No tool declares MCP annotations (readOnlyHint, destructiveHint and the rest). Clients use them to decide what to confirm; directories such as Anthropic's and OpenAI's ask for them.

Tools, prompts and resources (4: 4 tools)

Open a row for its full description. Chips show what its code can reach, and which risky capability its own description declares.

add_contact_by_wechat_idtool Add a new contact using a WeChat ID.
Add a new contact using a WeChat ID.

    This tool automates the WeChat flow:
    - Type the given WeChat ID into the global search box.
    - Click the "Search WeChat ID" card under the "More" section.
    - In the "Add Contacts" window, click "Add to Contacts".
    - In the "Send Friend Request" window, optionally customize the
      friending message, remark, and privacy options, then confirm.

    The `privacy` argument controls the "Privacy" section of the
    friend-request window:
    - "all" (default) selects "Chats, Moments, WeRun, etc." and applies
      the `hide_my_posts` / `hide_their_posts` flags.
    - "chats_only" selects "Chats Only" and ignores the hide flags.
fetch_messages_by_chattool Fetch recent messages for a specific chat (contact or group).FilesNetworkoutside text
Fetch recent messages for a specific chat (contact or group).

    This will:
    - Look for the chat in the left sidebar session list
    - If found, click it to open the chat
    - If not found, search for the chat via the search box
    - Once the chat is open, retrieve recent messages from that chat
publish_moment_without_mediatool Publish a Moments post containing only text (no media).
Publish a Moments post containing only text (no media).

    This will:
    - Open the main WeChat window and click the "Moments" button.
    - Long-press the "Post" button in the Moments window to open the
      composer sheet.
    - Fill the text entry area with the provided content.
    - If `publish` is True (default), click the "Post" button in the
      sheet to publish the moment; if False, leave the composer open
      without sending.
reply_to_messages_by_chattool Optionally send a reply to a chat (contact or group).Filesoutside text
Optionally send a reply to a chat (contact or group).

    This tool is designed to be driven by the LLM using this MCP:
    - Call fetch_messages_by_chat first to inspect conversation history.
    - Have the LLM compose a reply string.
    - Call this tool with that reply string to send it.

    If reply_message is None or empty, no message is sent; the tool still
    ensures the chat is open.

Text the model reads (4)

Every tool, prompt and resource description as written in the code: the model sees all of it, the user usually does not.

fetch_messages_by_chat tool
Fetch recent messages for a specific chat (contact or group).

    This will:
    - Look for the chat in the left sidebar session list
    - If found, click it to open the chat
    - If not found, search for the chat via the search box
    - Once the chat is open, retrieve recent messages from that chat
reply_to_messages_by_chat tool
Optionally send a reply to a chat (contact or group).

    This tool is designed to be driven by the LLM using this MCP:
    - Call fetch_messages_by_chat first to inspect conversation history.
    - Have the LLM compose a reply string.
    - Call this tool with that reply string to send it.

    If reply_message is None or empty, no message is sent; the tool still
    ensures the chat is open.
add_contact_by_wechat_id tool
Add a new contact using a WeChat ID.

    This tool automates the WeChat flow:
    - Type the given WeChat ID into the global search box.
    - Click the "Search WeChat ID" card under the "More" section.
    - In the "Add Contacts" window, click "Add to Contacts".
    - In the "Send Friend Request" window, optionally customize the
      friending message, remark, and privacy options, then confirm.

    The `privacy` argument controls the "Privacy" section of the
    friend-request window:
    - "all" (default) selects "Chats, Moments, WeRun, etc." and applies
      the `hide_my_posts` / `hide_their_posts` flags.
    - "chats_only" selects "Chats Only" and ignores the hide flags.
publish_moment_without_media tool
Publish a Moments post containing only text (no media).

    This will:
    - Open the main WeChat window and click the "Moments" button.
    - Long-press the "Post" button in the Moments window to open the
      composer sheet.
    - Fill the text entry area with the provided content.
    - If `publish` is True (default), click the "Post" button in the
      sheet to publish the moment; if False, leave the composer open
      without sending.

What we checked

The same checks run on every server. Each line below has one of these marks:

FoundA published issue such as a risky tool or a CVE
PassedWe ran the check on this server and found nothing
After reviewChecked; we publish it once a person verifies it
Partly tracedRan, but the scanner could not follow every path to its end
FactWhat the code does, not a judgement either way
Not checkedThe scanner had nothing to read for it, or it needs the live server
Code Safety10.0
  • 8 checks: command injection, argument injection, path traversal, server-side request forgery, SQL injection, code execution, unsafe deserialization, template injection
    Checked on every scan. Results in this category are published only after a person has verified them.
Capability Exposure9.5
  • Runs programs the caller chooses
    No tool runs a command or program the caller supplies — 4 tool handlers traced
  • Executes caller-supplied code
    No tool evaluates code the caller supplies — 4 tool handlers traced
  • Reads or writes any file path
    No tool works on a file path the caller supplies without a root check — 4 tool handlers traced
  • Requests any address
    No tool sends a request to an address the caller supplies — 4 tool handlers traced
  • Runs caller-supplied SQL
    No tool executes a query the caller supplies — 4 tool handlers traced
  • Tools that start processes
    Not seen in the traced code of 4 capabilities; 4 more call code the scanner could not follow, where it may happen
  • Tools that touch files
    2 of 4 capabilities touch files; 2 more call code the scanner could not follow, where it may happen
  • Tools that call the network
    1 of 4 capabilities call the network; 3 more call code the scanner could not follow, where it may happen
Where the code is: 4 handlers in 1 file at commit cc470367ca66
Prompt Integrity10.0
  • 5 checks: tool poisoning, instruction override, hidden content, exfiltration requests, metadata integrity
    Checked on every scan. Results in this category are published only after a person has verified them.
Supply Chain2.0
  • Dependency manifests
    1 manifest: pyproject.toml
  • Lockfiles checked against OSV
    1 file resolved and checked against the OSV database; 1 not resolved: pyproject.toml: dependency ranges declared here were not resolved against a lockfile and were not checked
  • Known vulnerabilities in production dependencies CRITICAL
    12 production packages with known advisories
  • Known vulnerabilities in other dependencies
    No package used only for development, tests or examples has a known advisory
  • MCP SDK version
    No MCP SDK declared in a manifest
Secrets & Credentials10.0
  • 3 checks: credential harvesting, undeclared credential access, credentials sent over the network
    Checked on every scan. Results in this category are published only after a person has verified them.
  • Tools that read credentials
    Not seen in the traced code of 4 capabilities; 4 more call code the scanner could not follow, where it may happen
  • Authentication declared
    Not checked: needs the live server's tools/list (a remote server declares how clients authenticate)
Behavior Transparency10.0
  • 3 checks: undeclared network access, undeclared file access, undeclared process execution
    Checked on every scan. Results in this category are published only after a person has verified them.
  • Tool descriptions present
    Every tool has a description the model and the user can read
  • Statically known names
    Every tool's name could be read from the code
  • Input schemas
    Not checked: needs the live server's tools/list (every tool declares an input schema)
  • Destructive tools annotated
    Not checked: needs the live server's tools/list (tools that write, delete or run commands carry destructivehint)

Dependencies with known vulnerabilities (12 in production)

Dependency ranges were not resolved against a lockfile, so the score is capped at 7.

PackageInstalledWorstAdvisoriesFixed in
pillowPyPI 12.0.0 CRITICAL 100 advisories 12.1.112.2.012.3.0+1 more
  • CRITICALGHSA-5x8w-8jj5-q52h BIT-pillow-2026-112398 CVE-2026-112398 PYSEC-2026-4330Pillow: Heap buffer overflow in FlashPix (FPX) JPEG decoding leads to code execution
  • CRITICALGHSA-8g5g-8vmr-9782 BIT-pillow-2026-112403 CVE-2026-112403 PYSEC-2026-4332Pillow: Heap buffer overflow in ImagingJpegDecode
  • CRITICALGHSA-w889-685w-c8fh BIT-pillow-2026-112900 CVE-2026-112900Pillow: Argument Injection in Ghostscript call, potentially leading into RCE
  • CRITICALGHSA-332p-7hrc-92wf BIT-pillow-2026-112393 CVE-2026-112393Pillow: Heap buffer overflow in _tiffWriteProc when saving TIFF to BytesIO
  • CRITICALGHSA-v9pv-5gc8-w2m6 BIT-pillow-2026-96639 CVE-2026-96639 PYSEC-2026-4339Pillow multi-frame loaders can reuse stale native image storage after mode transitions
  • HIGHGHSA-g842-9rc4-69pw BIT-pillow-2026-96637 CVE-2026-96637 PYSEC-2026-4338Pillow: Decompression bomb check bypass in SpiderImagePlugin.seek() leads to unbounded allocation DoS
  • HIGHGHSA-f2g6-542v-9j58 BIT-pillow-2026-112406 CVE-2026-112406Pillow: Infinite loop in PdfParser.rewrite_pages on page tree Parent cycle
  • HIGHGHSA-phj9-mv4w-65pm BIT-pillow-2026-55380 CVE-2026-55380 PYSEC-2026-2256Pillow `GdImageFile._open()`: image dimensions accepted without `_decompression_bomb_check()`
  • HIGHGHSA-8v84-f9pq-wr9x BIT-pillow-2026-54059 CVE-2026-54059 PYSEC-2026-2253Pillow `PcfFontFile._load_bitmaps()`: `Image.frombytes()` called without `_decompression_bomb_check()` — bomb protection bypass via PCF font loading
  • HIGHGHSA-45hq-cxwh-f6vc BIT-pillow-2026-55379 CVE-2026-55379 PYSEC-2026-2255Pillow `BdfFontFile`: `Image.new()` called without `_decompression_bomb_check()` — bomb protection bypass via font loading
  • HIGHGHSA-7mwm-ghpf-9vrm BIT-pillow-2026-112402 CVE-2026-112402 PYSEC-2026-4331Pillow: Double free in ImagingScaleAffine on calloc failure via Image.transform
  • HIGHGHSA-78g4-xqwv-q3g8Pillow: Bundled libopenjp2 2.5.4 in all wheels since 11.1.0 carries OSV-2025-219 heap-buffer-overflow write reachable from Image.open().load()
  • HIGHGHSA-cp9v-662q-vvx9 BIT-pillow-2026-112405 CVE-2026-112405 PYSEC-2026-4333Pillow: NULL pointer dereference in Image.merge via an unvalidated band 0
  • HIGHGHSA-pwv6-vv43-88gr BIT-pillow-2026-42311 CVE-2026-42311 PYSEC-2026-2252Pillow has an OOB Write with Invalid PSD Tile Extents (Integer Overflow)
  • HIGHGHSA-gg2r-wvfm-q9rx BIT-pillow-2026-112892 CVE-2026-112892Pillow: MSP RLE decoder expands a tiny file into unbounded memory
  • HIGHGHSA-27h8-gf7j-v5hc BIT-pillow-2026-112392 CVE-2026-112392 PYSEC-2026-4326Pillow: NULL dereference in ImagingExpand via rank filters on zero-size images
  • HIGHGHSA-9hw9-ch79-4vh6 BIT-pillow-2026-59205 CVE-2026-59205 PYSEC-2026-3453Pillow: Controlled heap out-of-bounds write in Pillow `ImageCmsTransform.apply()` via output mode mismatch
  • HIGHGHSA-6r8x-57c9-28j4 BIT-pillow-2026-59199 CVE-2026-59199 PYSEC-2026-3451Pillow: Heap out-of-bounds write `Image.paste()` / `Image.crop()` via signed coordinate overflow
  • HIGHGHSA-3j72-p6qg-6xp7 BIT-pillow-2026-96642 CVE-2026-96642 PYSEC-2026-4341Pillow: TarIO negative size field causes infinite CPU-spin loop
  • HIGHGHSA-c6hw-5grf-ff96 BIT-pillow-2026-112404 CVE-2026-112404Pillow: OOB read in TiffDecode.c tile and RGBA paths leaks heap memory into pixels
  • HIGHGHSA-65qm-jvmh-6pqg BIT-pillow-2026-112400 CVE-2026-112400Pillow: GIF seek keeps rejected size after DecompressionBombError, allowing DoS
  • HIGHGHSA-cfh3-3jmp-rvhc BIT-pillow-2026-25990 CVE-2026-25990 PYSEC-2026-2249Pillow affected by out-of-bounds write when loading PSD images
  • HIGHGHSA-jg86-v3jv-hrpm BIT-pillow-2026-112894 CVE-2026-112894Pillow: Quadratic-time DoS in PDF save_all (PdfParser.next_object_id)
  • HIGHGHSA-p4wg-p73j-c528 BIT-pillow-2026-112895 CVE-2026-112895Pillow: Unbounded recursion parsing a PDF page tree or trailer chain (incomplete fix for CVE-2026-42310)
  • HIGHGHSA-xj96-63gp-2gmr BIT-pillow-2026-59197 CVE-2026-59197 PYSEC-2026-3454Pillow: Heap out-of-bounds write in `ImageFilter.RankFilter` via integer overflow in `ImagingExpand`
  • HIGHGHSA-j4m9-6w36-pw47 BIT-pillow-2026-112893 CVE-2026-112893Pillow: Invalid free in FreeType glyph rendering when a stroker is active
  • HIGHGHSA-vjc4-5qp5-m44j BIT-pillow-2026-59204 CVE-2026-59204 PYSEC-2026-3496Pillow JPEG2000 tiled decode retains a growing scratch buffer and can be used for denial of service
  • HIGHGHSA-jjj6-mw9f-p565 BIT-pillow-2026-59200 CVE-2026-59200 PYSEC-2026-3495Pillow: Decompression Bomb DoS via PdfParser.PdfStream.decode()
  • HIGHGHSA-pchr-8j38-3x4p BIT-pillow-2026-112896 CVE-2026-112896 PYSEC-2026-4334Pillow: TIFF encoder ColorMap plane-size mismatch causes a heap out-of-bounds read
  • HIGHGHSA-xcvg-w56q-r89m CVE-2026-128067Pillow: Heap buffer overflow saving TIFF with libtiff when tags override image size
  • HIGHGHSA-62p4-gmf7-7g93 BIT-pillow-2026-54058 CVE-2026-54058 PYSEC-2026-3493Pillow: Out-of-bounds read via attacker-controlled row stride on Pillow's mmap path (McIdas AREA files)
  • HIGHGHSA-9v9v-9qvf-h2hj BIT-pillow-2026-96644 CVE-2026-96644 PYSEC-2026-4343Pillow: Heap over-read in WMF/EMF rendering via 16-bit dimension truncation (Windows builds)
  • HIGHGHSA-whj4-6x5x-4v2j BIT-pillow-2026-40192 CVE-2026-40192 PYSEC-2026-2250FITS GZIP decompression bomb in Pillow
  • HIGHGHSA-mrfp-p49p-3hf2 BIT-pillow-2026-96640 CVE-2026-96640Pillow PDF append accepts malformed shared page-tree DAG causing resource exhaustion
  • HIGHGHSA-5x94-69rx-g8h2 BIT-pillow-2026-54060 CVE-2026-54060 PYSEC-2026-2254Pillow: `FontFile.compile()`: `Image.new()` called without `_decompression_bomb_check()`
  • HIGHGHSA-58r4-6rv3-gfh8 BIT-pillow-2026-112397 CVE-2026-112397 PYSEC-2026-4329Pillow: Out-of-bounds access in _imagingmorph on a zero-width image
  • HIGHGHSA-22hg-r758-rrw9 BIT-pillow-2026-112390 CVE-2026-112390Pillow: Infinite loop in MIC n_frames when the embedded TIFF
  • HIGHGHSA-g7cr-3p24-7wf7 BIT-pillow-2026-96778 CVE-2026-96778Pillow: Heap buffer overflow writing JPEG comment after ICC profile fills buffer
  • HIGHGHSA-g4qv-2jxx-769h BIT-pillow-2026-96643 CVE-2026-96643 PYSEC-2026-4342Pillow: PNG eXIf chunk makes EXIF parsing run in quadratic time
  • HIGHGHSA-5xm2-6676-qcp9 BIT-pillow-2026-112399 CVE-2026-112399Pillow: APNG background disposal allocates full canvas before decompression bomb check
  • HIGHGHSA-xvh5-g6gv-559v BIT-pillow-2026-112902 CVE-2026-112902 PYSEC-2026-4363 Pillow: Memory disclosure and segfault in libtiff encoder via crafted TIFF tags
  • HIGHGHSA-q45j-58j2-45rg BIT-pillow-2026-112897 CVE-2026-112897Pillow: TiffDecode returns uninitialized memory as pixels for short JPEG strips
  • MEDIUMPYSEC-2026-4328 BIT-pillow-2026-112396 CVE-2026-112396 GHSA-4rr5-89j8-mwwmPillow is a Python imaging library. From 11.3.0 until 13.0.0, Pillow has a heap use-after-free when libtiff rejects a tag while encoding TIFF data to an in-memory buffer. When an application saves attacker-influenced TIFF tags to BytesIO, libtiff can reject a tag during encoding in ImagingLibTiffEncode; the error path then frees the output buffer without closing or clearing the TIFF handle, and later cleanup flushes through the write callback into freed memory, which can crash the process and may enable code execution. This issue is fixed in version 13.0.0.
  • MEDIUMGHSA-pg7v-jwj7-p798 BIT-pillow-2026-59203 CVE-2026-59203 PYSEC-2026-3452Pillow EpsImagePlugin negative %%BeginBinary byte count causes infinite loop denial of service
  • MEDIUMPYSEC-2026-2256 BIT-pillow-2026-55380 CVE-2026-55380 GHSA-phj9-mv4w-65pmPillow is a Python imaging library. Prior to 12.3.0, PIL/GdImageFile.py GdImageFile._open() read image dimensions from the GD 2.x header and stored them in self._size without calling Image._decompression_bomb_check(), allowing a crafted .gd file to trigger excessive C-heap allocation when loaded. This issue is fixed in version 12.3.0.
  • MEDIUMGHSA-4rr5-89j8-mwwm BIT-pillow-2026-112396 CVE-2026-112396 PYSEC-2026-4328Pillow: Heap use-after-free when encoding TIFF to an in-memory buffer
  • MEDIUMPYSEC-2026-4335 BIT-pillow-2026-112901 CVE-2026-112901 GHSA-xgh8-jp6q-p5x8Pillow is a Python imaging library. Prior to 13.0.0, Pillow's XBM header parser is vulnerable to regular-expression denial of service. In XbmImageFile._open, when an application calls Image.open() on a small crafted XBM file, XbmImagePlugin applies a backtracking expression to the attacker-controlled header before image dimensions are accepted, stalling a worker for minutes and denying service. This issue is fixed in version 13.0.0.
  • MEDIUMGHSA-24rc-8hj2-v98c BIT-pillow-2026-96638 CVE-2026-96638Pillow: BMP RLE decoder memory-amplification DoS via unbounded delta escape / absolute mode
  • MEDIUMGHSA-xgh8-jp6q-p5x8 BIT-pillow-2026-112901 CVE-2026-112901 PYSEC-2026-4335Pillow: ReDoS in XbmImagePlugin: 512-byte file stalls Image.open() for minutes
  • MEDIUMGHSA-fc9g-5qg7-mf45 BIT-pillow-2026-112891 CVE-2026-112891Pillow: Quadratic GIF comment copying during save
  • MEDIUMPYSEC-2026-4333 BIT-pillow-2026-112405 CVE-2026-112405 GHSA-cp9v-662q-vvx9Pillow is a Python imaging library. From 12.0.0 until 13.0.0, Pillow's Image.merge() can dereference a null image8 plane. Validation skips the first input band, allowing a 32-bit integer or floating-point image backed by image32 storage to be merged as a narrower multiband image. A crafted IPTC file can reach this path when an application opens and loads it, or a caller can invoke Image.merge() directly with such a first band. This causes a native process crash. This issue is fixed in version 13.0.0.
  • MEDIUMPYSEC-2026-2254 BIT-pillow-2026-54060 CVE-2026-54060 GHSA-5x94-69rx-g8h2Pillow is a Python imaging library. Prior to 12.3.0, PIL/FontFile.py FontFile.compile() assembled per-glyph images into a combined bitmap with Image.new("1", (xsize, ysize)) without calling Image._decompression_bomb_check(), allowing a font to trigger excessive allocation during conversion or saving. This issue is fixed in version 12.3.0.
  • MEDIUMPYSEC-2026-3454 BIT-pillow-2026-59197 CVE-2026-59197 GHSA-xj96-63gp-2gmrPillow is a Python imaging library. Prior to 12.3.0, Pillow's public rank-filter API can trigger a native heap out-of-bounds write when given a very large odd filter size because ImageFilter.RankFilter.filter() calls image.expand(size // 2, size // 2) before rank-filter size validation and ImagingExpand() computes output dimensions with unchecked signed int arithmetic. This issue is fixed in version 12.3.0.
  • MEDIUMGHSA-4rm8-3hmm-39fg BIT-pillow-2026-96641 CVE-2026-96641 PYSEC-2026-4340Pillow: Reachable undefined behavior in native integer operations, potentially leading to denial of service or logic integrity compromise
  • MEDIUMPYSEC-2026-3451 BIT-pillow-2026-59199 CVE-2026-59199 GHSA-6r8x-57c9-28j4Pillow is a Python imaging library. Prior to 12.3.0, Pillow public image coordinate APIs can trigger a native heap out-of-bounds write when given coordinates near the signed 32-bit integer limits in Image.paste(), Image.crop(), or Image.alpha_composite(). This issue is fixed in version 12.3.0.
  • MEDIUMPYSEC-2026-2255 BIT-pillow-2026-55379 CVE-2026-55379 GHSA-45hq-cxwh-f6vcPillow is a Python imaging library. Prior to 12.3.0, PIL/BdfFontFile.py bdf_char() read the BBX width and height field from a BDF font file and passed attacker-controlled dimensions to Image.new() without calling Image._decompression_bomb_check(), bypassing Pillow's documented decompression bomb protection and allowing excessive memory allocation. This issue is fixed in version 12.3.0.
  • MEDIUMPYSEC-2026-3494 BIT-pillow-2026-59198 CVE-2026-59198 GHSA-fj7v-r99m-22gqPillow TGA RLE encoder can serialize up to ~57 KB of adjacent heap data into generated images
  • MEDIUMPYSEC-2026-2250 BIT-pillow-2026-40192 CVE-2026-40192 GHSA-whj4-6x5x-4v2jPillow is a Python imaging library. Versions 10.3.0 through 12.1.1 did not limit the amount of GZIP-compressed data read when decoding a FITS image, making them vulnerable to decompression bomb attacks. A specially crafted FITS file could cause unbounded memory consumption, leading to denial of service (OOM crash or severe performance degradation). If users are unable to immediately upgrade, they should only open specific image formats, excluding FITS, as a workaround.
  • MEDIUMGHSA-rfgq-q3w2-pmv2 BIT-pillow-2026-112898 CVE-2026-112898Pillow: Image.quantize() with empty palette leaks uninitialized stack memory
  • MEDIUMPYSEC-2026-2874 BIT-pillow-2026-42310 CVE-2026-42310 GHSA-r73j-pqj5-w3x7Pillow has a PDF Parsing Trailer Infinite Loop (DoS)
  • MEDIUMPYSEC-2026-4330 BIT-pillow-2026-112398 CVE-2026-112398 GHSA-5x8w-8jj5-q52hPillow is a Python imaging library. Prior to 13.0.0, Pillow's FlashPix JPEG-tile decoder can write decoded scanlines beyond the allocated tile buffer. FlashPix (FPX) JPEG decoding selects raw mode LA with two bytes per pixel, while an unrecognized JPEG mode can be decoded as JCS_UNKNOWN with four components, causing ImagingJpegDecode to write four-component scanlines into the two-byte tile buffer. An attacker can supply a crafted OLE2 FlashPix file to an application with the optional olefile dependency installed that opens or thumbnails untrusted input. This can corrupt heap memory and may allow arbitrary code execution. This issue is fixed in version 13.0.0.
  • MEDIUMPYSEC-2026-4337 BIT-pillow-2026-96636 CVE-2026-96636 GHSA-p8hx-v2p6-rp84Pillow is a Python imaging library. Prior to 13.0.0, MpoImageFile.seek() and DcxImageFile.seek() reparse later MPO or DCX frames and replace self._size without rerunning Image._decompression_bomb_check(). A crafted multi-frame image can use a tiny first frame to pass Image.open() and then declare an over-limit later frame. Normal frame iteration through seek(), load(), or ImageSequence.Iterator can decode that frame and commit hundreds of megabytes or more, causing memory-exhaustion denial of service. This issue is fixed in version 13.0.0.
  • MEDIUMPYSEC-2026-165 BIT-pillow-2026-42308 CVE-2026-42308 GHSA-wjx4-4jcj-g98jPillow is a Python imaging library. Prior to version 12.2.0, if a font advances for each glyph by an exceeding large amount, when Pillow keeps track of the current position, it may lead to an integer overflow. This issue has been patched in version 12.2.0.
  • MEDIUMGHSA-wqgw-9xfh-qf2g CVE-2026-128066Pillow: Memory DoS in TIFF and EXIF IFD parsing via overlapping tag data
  • MEDIUMPYSEC-2026-4343 BIT-pillow-2026-96644 CVE-2026-96644 GHSA-9v9v-9qvf-h2hjPillow is a Python imaging library. Prior to 13.0.0 on Windows, src/PIL/WmfImagePlugin.py passes unchecked 32-bit WMF or EMF dimensions to the native drawwmf handler in src/display.c. The handler sizes a DIB allocation from 16-bit-truncated bcWidth and bcHeight fields but copies pixel data using the original full dimensions. A crafted wide, short metafile can pass the pixel-count decompression-bomb check and make the Windows-only renderer read beyond the heap buffer, potentially disclosing memory or crashing the process. This issue is fixed in version 13.0.0.
  • MEDIUMPYSEC-2026-4336 BIT-pillow-2026-114501 CVE-2026-114501 GHSA-654x-cwwv-5j9cPillow is a Python imaging library. From 11.2.1 until 13.0.0, Arrow export assumes that an image's rows are tightly contiguous and exports from im->blocks[0].ptr even when PILLOW_ALIGNMENT makes aligned_linesize include row padding or an aligned offset before the first row. The resulting Arrow buffer can include uninitialized padding, bytes preceding the first row, or stale heap contents from previously freed images. Applications that configure alignment and export images to Arrow can therefore disclose one user's pixels or other process memory to another user. This issue is fixed in version 13.0.0.
  • MEDIUMPYSEC-2026-3452 BIT-pillow-2026-59203 CVE-2026-59203 GHSA-pg7v-jwj7-p798Pillow is a Python imaging library. From 12.0.0 through 12.2.0, Pillow's EPS parser in PIL/EpsImagePlugin.py accepts a negative byte count in the %%BeginBinary directive, allowing a crafted EPS file to cause Image.open() to seek backwards to the same directive and parse it repeatedly in an infinite loop. This issue is fixed in version 12.3.0.
  • MEDIUMPYSEC-2026-4331 BIT-pillow-2026-112402 CVE-2026-112402 GHSA-7mwm-ghpf-9vrmPillow is a Python imaging library. Prior to 13.0.0, Pillow can double free image memory when ImagingScaleAffine encounters a selective allocation failure. The affected fast path handles Transform.EXTENT or pure scale-and-translate Transform.AFFINE operations with the default NEAREST resampling. The output image allocation must succeed while the additional per-column lookup allocation fails, after which the error path deletes image storage that later cleanup releases again. An attacker who can drive such a large Image.transform() operation under memory pressure may trigger the failure. This can crash the process and may corrupt memory. This issue is fixed in version 13.0.0.
  • MEDIUMPYSEC-2026-4363 BIT-pillow-2026-112902 CVE-2026-112902 GHSA-xvh5-g6gv-559vPillow is a Python imaging library. In versions through 12.3.0, the libtiff TIFF encoder can pass arguments to  TIFFSetField()  that do not match libtiff’s definition of the corresponding tag. When an application saves attacker-controlled image metadata through this encoder, crafted tag values can cause invalid memory reads, copying process memory into the encoded output or crashing the process. Applications that return the encoded output to an attacker can disclose that memory. The issue is reachable when re-saving compressed TIFF images and through certain conversions that preserve EXIF metadata into compressed TIFF output. This vulnerability is fixed in version 13.0.0.
  • MEDIUMPYSEC-2026-3493 BIT-pillow-2026-54058 CVE-2026-54058 GHSA-62p4-gmf7-7g93Pillow: Out-of-bounds read via attacker-controlled row stride on Pillow's mmap path (McIdas AREA files)
  • MEDIUMPYSEC-2026-4326 BIT-pillow-2026-112392 CVE-2026-112392 GHSA-27h8-gf7j-v5hcPillow is a Python imaging library. Prior to 13.0.0, Pillow's rank-based filters can dereference invalid image storage for a zero-size image. ImagingExpand() allocates a non-empty output and then faults while replicating edges by reading the first pixel from empty input storage; ImagingRankFilter is never reached. An attacker can supply or cause creation of a zero-size image to an application that applies a rank, median, minimum, or maximum filter. This causes a native process crash. This issue is fixed in version 13.0.0.
  • MEDIUMPYSEC-2026-3453 BIT-pillow-2026-59205 CVE-2026-59205 GHSA-9hw9-ch79-4vh6Pillow is a Python imaging library. Prior to 12.3.0, Pillow's ImageCms.ImageCmsTransform.apply(im, imOut) API can trigger controlled native heap corruption when the caller supplies an output image whose mode does not match the transform's declared output mode. This issue is fixed in version 12.3.0.
  • MEDIUMPYSEC-2026-3496 BIT-pillow-2026-59204 CVE-2026-59204 GHSA-vjc4-5qp5-m44jPillow JPEG2000 tiled decode retains a growing scratch buffer and can be used for denial of service
  • MEDIUMPYSEC-2026-4342 BIT-pillow-2026-96643 CVE-2026-96643 GHSA-g4qv-2jxx-769hPillow is a Python imaging library. From 11.0.0 until 13.0.0, Exif.load() in src/PIL/Image.py repeatedly slices the remaining EXIF data while it begins with the six-byte Exif header. src/PIL/PngImagePlugin.py accepts an uncapped PNG eXIf chunk, so a file filled with repeated headers causes a new shrinking copy on every iteration and quadratic CPU work. The condition is reachable through Image.getexif(), Image._getexif(), and ImageOps.exif_transpose(), including common photo-upload rotation workflows. This issue is fixed in version 13.0.0.
  • MEDIUMGHSA-462x-pgg6-55fp BIT-pillow-2026-112395 CVE-2026-112395Pillow tiled-TIFF decoder reads past tile buffer in copy4 (Unpack.c:1290)
  • MEDIUMPYSEC-2026-4327 BIT-pillow-2026-112394 CVE-2026-112394 GHSA-4558-3h8r-v8xpPillow is a Python imaging library. Prior to 13.0.0, Pillow's P;2L and P;4L raw decoders can read past the end of an input buffer. ImagingRawDecode calculates a packed-pixel row size, while the unpackers read separately padded bit planes. A caller can supply a buffer and image dimensions whose accepted size is smaller than the unpacker's actual footprint. This can disclose up to three adjacent heap bytes in output pixels or crash the process. This issue is fixed in version 13.0.0.
  • MEDIUMPYSEC-2026-4329 BIT-pillow-2026-112397 CVE-2026-112397 GHSA-58r4-6rv3-gfh8Pillow is a Python imaging library. Prior to 13.0.0, Pillow's ImageMorph.MorphOp.apply() can access memory before a row buffer for a zero-width image. PPM and PGM input can create an image with width zero, and the native morphology routine indexes outrow[width - 1] without rejecting that geometry. An attacker can supply such an image to an application that applies a morphology operation. This can crash the process. This issue is fixed in version 13.0.0.
  • MEDIUMPYSEC-2026-4334 BIT-pillow-2026-112896 CVE-2026-112896 GHSA-pchr-8j38-3x4pPillow is a Python imaging library. Prior to 13.0.0, Pillow's TIFF encoder can read beyond a ColorMap buffer when retained TIFF metadata has a plane size inconsistent with BitsPerSample. A small TIFF can be opened normally and then retain a crafted ColorMap that is reused when the image is saved. An application that re-encodes the attacker's TIFF with libtiff can trigger the out-of-bounds read. This can disclose heap memory in the output or crash the process. This issue is fixed in version 13.0.0.
  • MEDIUMGHSA-4x4j-2g7c-83w6 BIT-pillow-2026-55798 CVE-2026-55798 PYSEC-2026-2257Pillow: WindowsViewer.get_command() OS command injection via unescaped shell path
  • MEDIUMPYSEC-2026-2251 BIT-pillow-2026-42309 CVE-2026-42309 GHSA-5xmw-vc9v-4wf2Pillow is a Python imaging library. From version 11.2.1 to before version 12.2.0, passing nested lists as coordinates to APIs that accept coordinates such as ImagePath.Path, ImageDraw.ImageDraw.polygon and ImageDraw.ImageDraw.line could cause a heap buffer overflow, as nested lists were recursively unpacked beyond the allocated buffer. Coordinate lists are now validated to contain exactly two numeric coordinates. This issue has been patched in version 12.2.0.
  • MEDIUMGHSA-r73j-pqj5-w3x7 BIT-pillow-2026-42310 CVE-2026-42310 PYSEC-2026-2874Pillow has a PDF Parsing Trailer Infinite Loop (DoS)
  • MEDIUMPYSEC-2026-4340 BIT-pillow-2026-96641 CVE-2026-96641 GHSA-4rm8-3hmm-39fgPillow is a Python imaging library. Prior to 13.0.0, PILfont text-width accumulation in src/_imaging.c checks positive glyph advances against INT_MAX but does not check negative advances against INT_MIN. Repeating a signed 16-bit advance of -32768 can therefore execute a signed C integer overflow in xsize += dx, producing a large positive width from a negative mathematical result. Applications that use getlength(), getsize(), or derived layout, quota, serialization, or allocation calculations can experience logic-integrity errors or resource consumption, while the high-level mask path commonly retains a decompression-bomb check. This issue is fixed in version 13.0.0.
  • MEDIUMGHSA-wjx4-4jcj-g98j BIT-pillow-2026-42308 CVE-2026-42308 PYSEC-2026-165Pillow has an integer overflow when processing fonts
  • MEDIUMPYSEC-2026-3495 BIT-pillow-2026-59200 CVE-2026-59200 GHSA-jjj6-mw9f-p565Pillow: Decompression Bomb DoS via PdfParser.PdfStream.decode()
  • MEDIUMGHSA-4558-3h8r-v8xp BIT-pillow-2026-112394 CVE-2026-112394 PYSEC-2026-4327Pillow: P;2L and P;4L decoders may read 1 to 3 bytes past the passed buffer size
  • MEDIUMPYSEC-2026-2252 BIT-pillow-2026-42311 CVE-2026-42311 GHSA-pwv6-vv43-88grPillow is a Python imaging library. From version 10.3.0 to before version 12.2.0, processing a malicious PSD file could lead to memory corruption, potentially resulting in a crash or arbitrary code execution. This issue has been patched in version 12.2.0.
  • MEDIUMPYSEC-2026-4338 BIT-pillow-2026-96637 CVE-2026-96637 GHSA-g842-9rc4-69pwPillow is a Python imaging library. Prior to 13.0.0, SpiderImageFile.seek() in src/PIL/SpiderImagePlugin.py reparses a later SPIDER stack frame and replaces self._size without rerunning Image._decompression_bomb_check(). A tiny file can use a safe first frame to pass Image.open() and then declare very large dimensions in a later mode F frame. Loading that frame allocates approximately four bytes per attacker-declared pixel and can consume multiple gigabytes of memory. This issue is fixed in version 13.0.0.
  • MEDIUMGHSA-5xmw-vc9v-4wf2 BIT-pillow-2026-42309 CVE-2026-42309 PYSEC-2026-2251Pillow has a heap buffer overflow with nested list coordinates
  • MEDIUMGHSA-254f-3936-288h BIT-pillow-2026-112391 CVE-2026-112391Pillow: PdfParser can recurse without limit in get_value() and linearize_page_tree()
  • MEDIUMPYSEC-2026-2257 BIT-pillow-2026-55798 CVE-2026-55798 GHSA-4x4j-2g7c-83w6Pillow is a Python imaging library. Prior to 12.3.0, WindowsViewer.get_command() constructed a cmd.exe shell command by directly embedding a file path into an f-string without escaping and passed the result to subprocess.Popen(..., shell=True), allowing shell metacharacters in the file path to inject arbitrary cmd.exe commands. This issue is fixed in version 12.3.0.
  • MEDIUMGHSA-p8hx-v2p6-rp84 BIT-pillow-2026-96636 CVE-2026-96636 PYSEC-2026-4337Pillow: Decompression-bomb protection bypass via multi-frame seek() in MPO and DCX (MpoImageFile.seek / DcxImageFile.seek)
  • MEDIUMPYSEC-2026-2249 BIT-pillow-2026-25990 CVE-2026-25990 GHSA-cfh3-3jmp-rvhcPillow is a Python imaging library. From 10.3.0 to before 12.1.1, an out-of-bounds write may be triggered when loading a specially crafted PSD image. This vulnerability is fixed in 12.1.1.
  • MEDIUMPYSEC-2026-4332 BIT-pillow-2026-112403 CVE-2026-112403 GHSA-8g5g-8vmr-9782Pillow is a Python imaging library. Prior to 13.0.0, Pillow's JPEG decoder can write a full-width scanline into a buffer sized for a requested draft scale. ImagingJpegDecode does not verify libjpeg's actual output width and component count after scaling is requested, and an 8-bit lossless SOF3 JPEG decoded by a build linked to libjpeg-turbo 3.x can ignore the requested downscaling geometry. An attacker can supply such a JPEG to an application that uses draft() or thumbnail() to request downscaling. This can corrupt heap memory, crash the process, or potentially allow code execution. Older libjpeg-turbo 2.x and IJG builds reject the SOF3 input. This issue is fixed in version 13.0.0.
  • MEDIUMPYSEC-2026-2253 BIT-pillow-2026-54059 CVE-2026-54059 GHSA-8v84-f9pq-wr9xPillow is a Python imaging library. Prior to 12.3.0, PIL/PcfFontFile.py _load_bitmaps() read glyph dimensions from the PCF METRICS section and passed them directly to Image.frombytes() without calling Image._decompression_bomb_check(), allowing crafted PCF font data to cause excessive memory allocation. This issue is fixed in version 12.3.0.
  • MEDIUMGHSA-654x-cwwv-5j9c BIT-pillow-2026-114501 CVE-2026-114501 PYSEC-2026-4336Pillow: Arrow export leaks stale heap memory when PILLOW_ALIGNMENT > 1
  • MEDIUMGHSA-74r2-7ff9-mjj2 BIT-pillow-2026-112401 CVE-2026-112401Pillow: Quadratic GIF comment concatenation allows DoS in Image.open()
  • MEDIUMGHSA-fj7v-r99m-22gq BIT-pillow-2026-59198 CVE-2026-59198 PYSEC-2026-3494Pillow TGA RLE encoder can serialize up to ~57 KB of adjacent heap data into generated images
  • MEDIUMPYSEC-2026-4341 BIT-pillow-2026-96642 CVE-2026-96642 GHSA-3j72-p6qg-6xp7Pillow is a Python imaging library. Prior to 13.0.0, the TarIO initializer in src/PIL/TarIO.py accepts a negative octal member size and computes a backward seek that returns to the same 512-byte header. When the requested member name does not match, the parser repeatedly reads that header, consumes a full CPU core, and never returns. TarIO is reached only when an application directly uses PIL.TarIO.TarIO rather than the default Image.open() path. This issue is fixed in version 13.0.0.
  • MEDIUMPYSEC-2026-4339 BIT-pillow-2026-96639 CVE-2026-96639 GHSA-v9pv-5gc8-w2m6Pillow is a Python imaging library. From 11.0.0 until 13.0.0, multi-frame loaders can retain an ImagingCore allocation created for a narrow frame mode while a later frame of the same dimensions changes the logical mode and decoder tiles to wider RGB or CMYK data. ImageFile.load_prepare() reuses the stale native storage because _im is non-null without verifying that its mode and size still match. Crafted PSD, MPO, DCX, or MIC frame transitions can then write wider pixels into the narrow allocation, causing native out-of-bounds writes and crashes. The MPO path can also cause a native over-read and, in demonstrated runtime-specific profiles, command execution. This issue is fixed in version 13.0.0.
  • MEDIUMGHSA-vx6w-vv9f-6gvg BIT-pillow-2026-112899 CVE-2026-112899Pillow: EPS load(scale) lets Ghostscript render past the decompression bomb limit
pyjwtPyPI 2.10.1 CRITICAL 32 advisories 2.12.02.12.12.13.0+2 more
  • CRITICALGHSA-ffc3-869f-jxw9 CVE-2026-102268 PYSEC-2026-4145PyJWT: Asymmetric-PEM detection bypass: whitespace/line-ending-mutated public keys skip the HS/asymmetric confusion guard
  • HIGHGHSA-9v7f-9g4p-ffgj CVE-2026-102267 PYSEC-2026-4144PyJWT: PyJWKClient follows redirects when fetching JWKS
  • HIGHGHSA-pxh4-856f-4h89PyJWT: HS256/384/512 verify accepts empty HMAC key via oct JWK (PyJWK/PyJWKClient) enabling token forgery
  • HIGHGHSA-xgmm-8j9v-c9wx CVE-2026-48526 PYSEC-2026-179PyJWT: Public-key JWK accepted as HMAC secret enables forged HS256 tokens when mixed families are allowed
  • HIGHGHSA-p4g4-x82p-q773 CVE-2026-102271 PYSEC-2026-4149PyJWT: Public keys in DER form are accepted as HMAC secrets, bypassing the CVE-2022-29217 guard
  • HIGHGHSA-752w-5fwx-jx9f CVE-2026-32597 PYSEC-2026-120PyJWT accepts unknown `crit` header extensions
  • MEDIUMPYSEC-2026-178 CVE-2026-48525 GHSA-w7vc-732c-9m39PyJWT is a JSON Web Token implementation in Python. From 2.8.0 to 2.12.1, when verifying detached JWS tokens using the unencoded-payload option ("b64": false, RFC 7797), PyJWT performs Base64URL decoding of the compact-serialization payload segment before enforcing the detached-payload rules. For b64=false, PyJWT later discards that decoded payload and replaces it with the caller-provided detached_payload. In practice, this turns the middle segment into an attacker-controlled “work amplifier”: a remote client can supply an arbitrarily large Base64URL payload segment that forces CPU work + memory allocations even if the signature is invalid. This creates an unauthenticated DoS vector against any endpoint that verifies detached JWS using PyJWT. This vulnerability is fixed in 2.13.0.
  • MEDIUMGHSA-w6j9-cwv2-h6wq CVE-2026-102274 PYSEC-2026-4152PyJWT: Malformed RSA JWK aborts parsing of an entire JWK Set
  • MEDIUMGHSA-x33g-cr3x-6449 CVE-2026-102275 PYSEC-2026-4183PyJWT accepts inconsistent OKP x/d JWKs, causing public/private key identity confusion
  • MEDIUMPYSEC-2026-177 CVE-2026-48524 GHSA-fhv5-28vv-h8m8PyJWT is a JSON Web Token implementation in Python. Prior to 2.13.0, PyJWKClient.get_signing_key() forces a fresh HTTP request to the JWKS endpoint for every JWT with an unknown kid value, with no rate limiting. Since kid comes from the unverified token header, an attacker can trigger unlimited outbound requests. The vulnerability surfaces only when a JWKS fetch fails; an attacker can attempt to provoke that with sustained unknown-kid traffic, but the outcome depends on upstream JWKS-endpoint behavior (rate limiting, transient errors) which is beyond the attacker's control. This vulnerability is fixed in 2.13.0.
  • MEDIUMPYSEC-2026-4152 CVE-2026-102274 GHSA-w6j9-cwv2-h6wqPyJWT: Malformed RSA JWK aborts parsing of an entire JWK Set
  • MEDIUMGHSA-hxm8-2xgr-2p9m CVE-2026-102269 PYSEC-2026-4147PyJWT: Non-canonical signature segments enable raw-token revocation bypass
  • MEDIUMPYSEC-2026-175 CVE-2026-48522 GHSA-993g-76c3-p5m4PyJWT is a JSON Web Token implementation in Python. Prior to 2.13.0, PyJWKClient passes its uri argument directly to urllib.request.urlopen() which uses Python stdlib's default OpenerDirector registering HTTPHandler, HTTPSHandler, FTPHandler, FileHandler, and DataHandler. There is currently no documented option to restrict which schemes PyJWKClient will fetch. If an application's jku URL ingestion path accepts attacker-influenced URLs (e.g., from JWT header, configuration file, OAuth flow parameter), the attacker can cause PyJWKClient to read arbitrary local files via file:// (SSRF on local filesystem), cause PyJWKClient to attempt FTP / data-URI fetches (broader SSRF surface), or forge tokens that PyJWT verifies as valid. The library does not directly return non-HTTP(S) URI contents to the attacker; the chained "plant a JWKS to forge tokens" scenario described in the original report requires additional application-layer flaws (attacker write access to a filesystem path, untrusted jku derivation) that this fix does not address. This vulnerability is fixed in 2.13.0.
  • MEDIUMPYSEC-2026-4148 CVE-2026-102270 GHSA-jwrc-g2q2-pq5pPyJWT: ReDoS vulnerability when calling the `is_pem_format` function.
  • MEDIUMPYSEC-2026-4183 CVE-2026-102275 GHSA-x33g-cr3x-6449PyJWT is a Python implementation of JSON Web Token standards. From 2.1.0 until 2.15.0, PyJWT OKPAlgorithm.from_jwk in jwt/algorithms.py is affected because private-JWK import path does not compare the public key derived from d with x. This occurs when an OKP private JWK supplies non-corresponding x and d components. As a result, identity derived from x can differ from operations performed with d. Consequently, if an integration also accepts private key parameters from a proof header without rejecting them, an attacker may use a stolen sender-constrained token without the legitimate private key. This issue is fixed in version 2.15.0.
  • MEDIUMGHSA-w7vc-732c-9m39 CVE-2026-48525 PYSEC-2026-178PyJWT: Unauthenticated DoS via unbounded Base64URL decoding of unused payload segment in b64=false detached JWS
  • MEDIUMPYSEC-2026-4141 CVE-2026-101918 GHSA-42vr-xj54-vc7vPyJWT: Unauthenticated RecursionError DoS in pre-verification payload parse (PyJWKClient.get_signing_key_from_jwt / verify_signature=False)
  • MEDIUMPYSEC-2026-4147 CVE-2026-102269 GHSA-hxm8-2xgr-2p9mPyJWT: Non-canonical signature segments enable raw-token revocation bypass
  • MEDIUMPYSEC-2026-120 CVE-2026-32597 GHSA-752w-5fwx-jx9fPyJWT is a JSON Web Token implementation in Python. Prior to 2.12.0, PyJWT does not validate the crit (Critical) Header Parameter defined in RFC 7515 §4.1.11. When a JWS token contains a crit array listing extensions that PyJWT does not understand, the library accepts the token instead of rejecting it. This violates the MUST requirement in the RFC. This vulnerability is fixed in 2.12.0.
  • MEDIUMPYSEC-2026-176 CVE-2026-48523 GHSA-jq35-7prp-9v3fPyJWT is a JSON Web Token implementation in Python. From 2.9.0 to 2.12.1, there is a verifier-side algorithm allow-list bypass when jwt.decode() or jwt.decode_complete() are called with a PyJWK key. The token header alg is checked against the caller-supplied algorithms allow-list, but signature verification is performed with the algorithm bound to the PyJWK object instead of the header algorithm. An attacker who controls a registered JWK/JWKS private key can sign with a disallowed algorithm, advertise an allowed algorithm in the JWT header, and still be accepted. The issue affects the documented PyJWKClient.get_signing_key_from_jwt(...) flow. This vulnerability is fixed in 2.13.0.
  • MEDIUMPYSEC-2026-4145 CVE-2026-102268 GHSA-ffc3-869f-jxw9PyJWT: Asymmetric-PEM detection bypass: whitespace/line-ending-mutated public keys skip the HS/asymmetric confusion guard
  • MEDIUMPYSEC-2026-4140 CVE-2026-101917 GHSA-2gx3-rcp4-g85qPyJWT: PyJWKClient still amplifies unauthenticated JWKS fetches on unknown kid values (incomplete fix of CVE-2026-48524)
  • MEDIUMGHSA-42vr-xj54-vc7v CVE-2026-101918 PYSEC-2026-4141PyJWT: Unauthenticated RecursionError DoS in pre-verification payload parse (PyJWKClient.get_signing_key_from_jwt / verify_signature=False)
  • MEDIUMGHSA-jwrc-g2q2-pq5p CVE-2026-102270 PYSEC-2026-4148PyJWT: ReDoS vulnerability when calling the `is_pem_format` function.
  • MEDIUMGHSA-jq35-7prp-9v3f CVE-2026-48523 PYSEC-2026-176PyJWT: Algorithm allow-list bypass when decoding with `PyJWK` / `PyJWKClient` keys
  • MEDIUMPYSEC-2026-4149 CVE-2026-102271 GHSA-p4g4-x82p-q773PyJWT: Public keys in DER form are accepted as HMAC secrets, bypassing the CVE-2022-29217 guard
  • MEDIUMGHSA-2gx3-rcp4-g85q CVE-2026-101917 PYSEC-2026-4140PyJWT: PyJWKClient still amplifies unauthenticated JWKS fetches on unknown kid values (incomplete fix of CVE-2026-48524)
  • MEDIUMGHSA-993g-76c3-p5m4 CVE-2026-48522 PYSEC-2026-175PyJWKClient: missing scheme allowlist enables CVE-2024-21643-class SSRF + token forgery via file://, ftp://, data: schemes
  • MEDIUMPYSEC-2025-183 CVE-2025-45768pyjwt v2.10.1 was discovered to contain weak encryption. NOTE: this is disputed by the Supplier because the key length is chosen by the application that uses the library (admittedly, library users may benefit from a minimum value and a mechanism for opting in to strict enforcement).
  • MEDIUMPYSEC-2026-4144 CVE-2026-102267 GHSA-9v7f-9g4p-ffgjPyJWT: PyJWKClient follows redirects when fetching JWKS
  • MEDIUMPYSEC-2026-179 CVE-2026-48526 GHSA-xgmm-8j9v-c9wxPyJWT is a JSON Web Token implementation in Python. Prior to 2.13.0, when the verifier is decoding JSON Web Tokens, while supporting both asymmetric and HMAC algorithms, the library does not validate use of JSON Web Keys in HMAC algorithm, allowing attacker to use the issuer public key as the secret key for HMAC algorithm. This vulnerability is fixed in 2.13.0.
  • LOWGHSA-fhv5-28vv-h8m8 CVE-2026-48524 PYSEC-2026-177PyJWKClient unbounded JWKS endpoint requests via attacker-controlled kid values (DoS)
anyioPyPI 4.12.0 CRITICAL 4 advisories 4.14.2
  • CRITICALGHSA-82r6-8w77-94w6 CVE-2026-63374 PYSEC-2026-4025AnyIO: TLSStream IDNA 2003 host name encoding enables potential TLS certificate spoofing
  • MEDIUMGHSA-5p39-cfhj-2xmp CVE-2026-64847 PYSEC-2026-4024AnyIO process-pool workers can block indefinitely on undrained stderr
  • MEDIUMPYSEC-2026-4024 CVE-2026-64847 GHSA-5p39-cfhj-2xmpAnyIO process-pool workers can block indefinitely on undrained stderr
  • MEDIUMPYSEC-2026-4025 CVE-2026-63374 GHSA-82r6-8w77-94w6AnyIO: TLSStream IDNA 2003 host name encoding enables potential TLS certificate spoofing
certifiPyPI 2025.11.12 CRITICAL 2 advisories 2026.10.18
  • CRITICALGHSA-6q48-6c7w-9gw2 PYSEC-2026-4320certifi bundles emSign root CAs with compromised intermediate CA keys
  • MEDIUMPYSEC-2026-4320 GHSA-6q48-6c7w-9gw2certifi bundles emSign root CAs with compromised intermediate CA keys
python-multipartPyPI 0.0.20 HIGH 14 advisories 0.0.220.0.260.0.27+2 more
  • HIGHGHSA-pp6c-gr5w-3c5g CVE-2026-42561 PYSEC-2026-3039python-multipart has Denial of Service via unbounded multipart part headers
  • HIGHGHSA-wp53-j4wj-2cfg CVE-2026-24486 PYSEC-2026-1852Python-Multipart has Arbitrary File Write via Non-Default Configuration
  • HIGHGHSA-5rvq-cxj2-64vf CVE-2026-53539 PYSEC-2026-3036python-multipart: Quadratic-time querystring parsing with semicolon separators causes CPU denial of service
  • MEDIUMPYSEC-2026-3040 CVE-2026-53540 GHSA-v9pg-7xvm-68hfpython-multipart: Negative Content-Length in parse_form buffers the entire body in memory
  • MEDIUMPYSEC-2026-3039 CVE-2026-42561 GHSA-pp6c-gr5w-3c5gpython-multipart has Denial of Service via unbounded multipart part headers
  • MEDIUMPYSEC-2026-3036 CVE-2026-53539 GHSA-5rvq-cxj2-64vfpython-multipart: Quadratic-time querystring parsing with semicolon separators causes CPU denial of service
  • MEDIUMPYSEC-2026-3037 CVE-2026-53538 GHSA-6jv3-5f52-599mpython-multipart: Semicolon treated as querystring field separator enables parameter smuggling
  • MEDIUMPYSEC-2026-3041 CVE-2026-53537 GHSA-vffw-93wf-4j4qpython-multipart: Content-Disposition parameter smuggling via RFC 2231/5987 extended parameters
  • MEDIUMGHSA-mj87-hwqh-73pj CVE-2026-40347 PYSEC-2026-3038python-multipart affected by Denial of Service via large multipart preamble or epilogue data
  • MEDIUMPYSEC-2026-1852 CVE-2026-24486 GHSA-wp53-j4wj-2cfgPython-Multipart has Arbitrary File Write via Non-Default Configuration
  • MEDIUMPYSEC-2026-3038 CVE-2026-40347 GHSA-mj87-hwqh-73pjpython-multipart affected by Denial of Service via large multipart preamble or epilogue data
  • LOWGHSA-v9pg-7xvm-68hf CVE-2026-53540 PYSEC-2026-3040python-multipart: Negative Content-Length in parse_form buffers the entire body in memory
  • LOWGHSA-vffw-93wf-4j4q CVE-2026-53537 PYSEC-2026-3041python-multipart: Content-Disposition parameter smuggling via RFC 2231/5987 extended parameters
  • LOWGHSA-6jv3-5f52-599m CVE-2026-53538 PYSEC-2026-3037python-multipart: Semicolon treated as querystring field separator enables parameter smuggling
cryptographyPyPI 46.0.3 HIGH 13 advisories 46.0.546.0.646.0.7+3 more
  • HIGHGHSA-537c-gmf6-5ccfVulnerable OpenSSL included in cryptography wheels
  • HIGHGHSA-r6ph-v2qm-q3c2 CVE-2026-26007 PYSEC-2026-2141cryptography Vulnerable to a Subgroup Attack Due to Missing Subgroup Validation for SECT Curves
  • HIGHGHSA-g6cj-pr64-35w5 CVE-2026-69247 PYSEC-2026-3552cryptography: PKCS#7 EnvelopedData decryption exposes a Bleichenbacher oracle through distinguishable errors and timing
  • HIGHGHSA-jwv3-5hgf-82ww CVE-2026-69249 PYSEC-2026-3553python-cryptography: Duplicate self-signed intermediates can cause exponential path-building
  • MEDIUMPYSEC-2026-3553 CVE-2026-69249 GHSA-jwv3-5hgf-82wwpython-cryptography: Duplicate self-signed intermediates can cause exponential path-building
  • MEDIUMPYSEC-2026-2141 CVE-2026-26007 GHSA-r6ph-v2qm-q3c2cryptography is a package designed to expose cryptographic primitives and recipes to Python developers. Prior to 46.0.5, the public_key_from_numbers (or EllipticCurvePublicNumbers.public_key()), EllipticCurvePublicNumbers.public_key(), load_der_public_key() and load_pem_public_key() functions do not verify that the point belongs to the expected prime-order subgroup of the curve. This missing validation allows an attacker to provide a public key point P from a small-order subgroup. This can lead to security issues in various situations, such as the most commonly used signature verification (ECDSA) and shared key negotiation (ECDH). When the victim computes the shared secret as S = [victim_private_key]P via ECDH, this leaks information about victim_private_key mod (small_subgroup_order). For curves with cofactor > 1, this reveals the least significant bits of the private key. When these weak public keys are used in ECDSA , it's easy to forge signatures on the small subgroup. Only SECT curves are impacted by this. This vulnerability is fixed in 46.0.5.
  • MEDIUMPYSEC-2026-3554 CVE-2026-69248 GHSA-m2h6-j472-rp4cpython-cryptography verifier accepts wildcard DNS names allowing escape from permittedSubtrees
  • MEDIUMGHSA-p423-j2cm-9vmq CVE-2026-39892 PYSEC-2026-36Cryptography vulnerable to buffer overflow if non-contiguous buffers were passed to APIs
  • MEDIUMPYSEC-2026-35 CVE-2026-34073 GHSA-m959-cc7f-wv43cryptography is a package designed to expose cryptographic primitives and recipes to Python developers. Prior to version 46.0.6, DNS name constraints were only validated against SANs within child certificates, and not the "peer name" presented during each validation. Consequently, cryptography would allow a peer named bar.example.com to validate against a wildcard leaf certificate for *.example.com, even if the leaf's parent certificate (or upwards) contained an excluded subtree constraint for bar.example.com. This issue has been patched in version 46.0.6.
  • MEDIUMPYSEC-2026-3552 CVE-2026-69247 GHSA-g6cj-pr64-35w5cryptography: PKCS#7 EnvelopedData decryption exposes a Bleichenbacher oracle through distinguishable errors and timing
  • MEDIUMGHSA-m2h6-j472-rp4c CVE-2026-69248 PYSEC-2026-3554python-cryptography verifier accepts wildcard DNS names allowing escape from permittedSubtrees
  • MEDIUMPYSEC-2026-36 CVE-2026-39892 GHSA-p423-j2cm-9vmqcryptography is a package designed to expose cryptographic primitives and recipes to Python developers. From 45.0.0 to before 46.0.7, if a non-contiguous buffer was passed to APIs which accepted Python buffers (e.g. Hash.update()), this could lead to buffer overflows. This vulnerability is fixed in 46.0.7.
  • LOWGHSA-m959-cc7f-wv43 CVE-2026-34073 PYSEC-2026-35cryptography has incomplete DNS name constraint enforcement on peer names
mcpPyPI 1.23.1 HIGH 11 advisories 1.27.21.28.11.30.0+1 more
  • HIGHGHSA-hvrp-rf83-w775 CVE-2026-52870 PYSEC-2026-3481MCP Python SDK: Experimental task handlers allow any client to access and cancel other clients' tasks
  • HIGHGHSA-vj7q-gjh5-988w CVE-2026-59950 PYSEC-2026-3483MCP Python SDK: WebSocket server transport does not support Host/Origin validation
  • HIGHGHSA-jpw9-pfvf-9f58 CVE-2026-52869 PYSEC-2026-3482MCP Python SDK: HTTP transports serve session requests without verifying the authenticated principal
  • HIGHGHSA-qx49-fqc8-xw99 CVE-2026-115563Model Context Protocol Python SDK: OAuth client could send credentials to an authorization server chosen by the MCP server
  • MEDIUMGHSA-84m7-p3x7-pcfv CVE-2026-59951MCP Python SDK: Unbounded Session Accumulation in StreamableHTTP Transport Enables Resource Exhaustion
  • MEDIUMPYSEC-2026-3481 CVE-2026-52870 GHSA-hvrp-rf83-w775MCP Python SDK: Experimental task handlers allow any client to access and cancel other clients' tasks
  • MEDIUMPYSEC-2026-3482 CVE-2026-52869 GHSA-jpw9-pfvf-9f58MCP Python SDK: HTTP transports serve session requests without verifying the authenticated principal
  • MEDIUMPYSEC-2026-3483 CVE-2026-59950 GHSA-vj7q-gjh5-988wMCP Python SDK: WebSocket server transport does not support Host/Origin validation
  • MEDIUMGHSA-rwrf-2pqf-9j8j CVE-2026-116686Model Context Protocol Python SDK: Client fetched server-chosen $ref URLs while validating tool results against output schemas
  • MEDIUMGHSA-5h93-6whr-6q8j CVE-2026-116685Model Context Protocol Python SDK: HTTP client transports followed cross-origin redirects carrying custom headers and bodies
  • MEDIUMGHSA-w4fh-qvv9-3v23 CVE-2026-116684Model Context Protocol Python SDK: Server bearer-token authentication accepts tokens issued for a different resource server
starlettePyPI 0.50.0 HIGH 10 advisories 1.0.11.1.01.3.0+1 more
  • HIGHGHSA-wqp7-x3pw-xc5r CVE-2026-48818 PYSEC-2026-2281Starlette: SSRF and NTLM credential theft via UNC paths in StaticFiles on Windows
  • HIGHGHSA-82w8-qh3p-5jfq CVE-2026-54283 PYSEC-2026-249Starlette: request.form() limits silently ignored for application/x-www-form-urlencoded enable DoS
  • MEDIUMPYSEC-2026-2281 CVE-2026-48818 GHSA-wqp7-x3pw-xc5rStarlette is a lightweight ASGI framework/toolkit. In versions 1.0.1 and earlier, StaticFiles on Windows is vulnerable to SSRF. An UNC path such as \\\\attacker.com\\share can cause os.path.realpath to initiate an outbound SMB connection before the path is rejected, exposing the service account’s NTLMv2 credentials for offline cracking or relay even though the HTTP response is only a 404. The issue affects default follow_symlink=False deployments, including frameworks built on Starlette such as FastAPI; POSIX systems and follow_symlink=True are unaffected. The issue is fixed in 1.1.0.
  • MEDIUMPYSEC-2026-249 CVE-2026-54283 GHSA-82w8-qh3p-5jfqStarlette is a lightweight ASGI framework/toolkit. From 0.4.1 until 1.3.1, request.form() accepts max_fields and max_part_size to bound resource consumption while parsing form data. These limits are enforced for multipart/form-data, but silently ignored for application/x-www-form-urlencoded. An unauthenticated attacker can therefore send a urlencoded body with an arbitrarily large number of fields or an arbitrarily large field, even when the application configured limits it believed would apply. This vulnerability is fixed in 1.3.1.
  • MEDIUMPYSEC-2026-2280 CVE-2026-48817 GHSA-x746-7m8f-x49cStarlette is a lightweight ASGI framework/toolkit. In versions 1.0.1 and below, when dispatching a request, HTTPEndpoint selects the handler by lowercasing the HTTP method and looking it up as an attribute with getattr, without restricting the lookup to a known set of HTTP verbs. When an HTTPEndpoint subclass is registered through Route(...) without an explicit methods= argument, the route does not constrain the method and every method reaches the endpoint. If a non-standard HTTP method whose lowercased name matches an attribute on the endpoint subclass reaches the endpoint, that attribute is invoked as if it were a request handler. An attacker can use this to reach methods that were never meant to be HTTP handlers, such as internal helpers, without the authorization checks applied by the intended public handler. An application (including Starlette-based frameworks like FastAPI) is affected if it registers an HTTPEndpoint subclass via Route(...) without explicitly setting methods=, and that subclass includes extra methods named like non-standard HTTP verbs that take one request argument and return a response. This issue has been fixed in version 1.1.0.
  • MEDIUMPYSEC-2026-161 CVE-2026-48710 GHSA-86qp-5c8j-p5mr X41-2026-002BadHost: Missing Host header validation poisons request.url.path, bypassing path-based security checks
  • MEDIUMGHSA-x746-7m8f-x49c CVE-2026-48817 PYSEC-2026-2280Starlette: Arbitrary HTTP method dispatched to `HTTPEndpoint` attributes via `getattr`
  • MEDIUMGHSA-86qp-5c8j-p5mr CVE-2026-48710 PYSEC-2026-161 X41-2026-002Starlette has missing Host header validation that poisons request.url.path, bypassing path-based security checks
  • MEDIUMPYSEC-2026-248 CVE-2026-54282 GHSA-jp82-jpqv-5vv3Starlette is a lightweight ASGI framework/toolkit. Prior to 1.3.0, the HTTP request path is not validated before being used to reconstruct request.url. Because request.url is rebuilt by concatenating {scheme}://{host}{path} and re-parsing the result, a path that does not begin with / (for example @google.com) moves the authority boundary during re-parsing, so request.url.hostname and request.url.netloc become attacker-controlled. Code that reads request.url.hostname (rather than the Host header or scope) can therefore be misled into trusting an attacker-supplied host. This vulnerability is fixed in 1.3.0.
  • LOWGHSA-jp82-jpqv-5vv3 CVE-2026-54282 PYSEC-2026-248Starlette: Unvalidated request path concatenated into authority poisons request.url.hostname
idnaPyPI 3.11 MEDIUM 2 advisories 3.15
  • MEDIUMGHSA-65pc-fj4g-8rjx CVE-2026-45409 PYSEC-2026-215Internationalized Domain Names in Applications (IDNA): Specially crafted inputs to idna.encode() can bypass CVE-2024-3651 fix
  • MEDIUMPYSEC-2026-215 CVE-2026-45409 GHSA-65pc-fj4g-8rjxInternationalized Domain Names in Applications (IDNA) for Python provides support for Internationalized Domain Names in Applications (IDNA) and Unicode IDNA Compatibility Processing. In versions prior to 3.15, payloads such as `"\\u0660" * N` or `"\\u30fb" * N + "\\u6f22"` utilize the `valid_contexto` function prior to length rejection, and for high values of `N` will take a long time to process. This is the same issue as CVE-2024-3651, however the original remediation in 2024 was not a complete fix. A specially crafted argument to the `idna.encode()` function could consume significant resources. This may lead to a denial-of-service. Starting in version 3.14, the function rejects long inputs as soon as practicable prior to any further processing to minimize resource consumption. In version 3.15, this approach was extended to lesser used alternate functions (i.e. per-label conversions and codec support). A workaround is available. Domain names cannot exceed 253 characters in length. If this length limit is enforced prior to passing the domain to the `idna.encode()` function, it should no longer consume significant resources. This is triggered by arbitrarily large inputs that would not occur in normal usage, but may be passed to the library assuming there is no preliminary input validation by the higher-level application.
pygmentsPyPI 2.19.2 MEDIUM 2 advisories 2.20.0
  • MEDIUMPYSEC-2026-2987 CVE-2026-4539 GHSA-5239-wwwm-4pmqPygments has Regular Expression Denial of Service (ReDoS) due to Inefficient Regex for GUID Matching
  • LOWGHSA-5239-wwwm-4pmq CVE-2026-4539 PYSEC-2026-2987Pygments has Regular Expression Denial of Service (ReDoS) due to Inefficient Regex for GUID Matching
python-dotenvPyPI 1.2.1 MEDIUM 2 advisories 1.2.2
  • MEDIUMPYSEC-2026-2270 CVE-2026-28684 GHSA-mf9w-mj56-hr94python-dotenv reads key-value pairs from a .env file and can set them as environment variables. Prior to version 1.2.2, `set_key()` and `unset_key()` in python-dotenv follow symbolic links when rewriting `.env` files, allowing a local attacker to overwrite arbitrary files via a crafted symlink when a cross-device rename fallback is triggered. Users should upgrade to v.1.2.2 or, as a workaround, apply the patch manually.
  • MEDIUMGHSA-mf9w-mj56-hr94 CVE-2026-28684 PYSEC-2026-2270python-dotenv: Symlink following in set_key allows arbitrary file overwrite via cross-device rename fallback
pydantic-settingsPyPI 2.12.0 MEDIUM 1 advisory 2.14.2
  • MEDIUMGHSA-4xgf-cpjx-pc3j CVE-2026-58203pydantic-settings: NestedSecretsSettingsSource follows symlinks outside secrets_dir, enabling local file read and bypassing secrets_dir_max_size

Past security advisories

Vulnerabilities published for this server itself, from the GitHub Advisory Database.

No security advisories have been published for this server in the GitHub Advisory Database.

How it runs

Where it runsOn your machine, started by your MCP client from this repository or its package
TransportStreamable HTTP, SSE, stdio
Sign-innot checked needs the live server
Servers in the code1 (WeChat Helper MCP Server)

The project's own security

Security policynone no SECURITY.md in the repository: report issues privately through GitHub if it is enabled
Past advisoriesnone in the GitHub Advisory Database
Last push2026-03-09
Signed releasesnot checked yet

Where it is published

Listed in3 catalogs (github_search, glama, mcp_toplist)
LicenseMIT
Created2025-12-04
Topicsmcp mcp-server wechat

Attack map

How the server is built and where its risky tools lead: servers, their tools, what the tools' code can do, and the traced route from a declared risky tool's argument to the operation it reaches. Click a node for details.

Request a scan or an audit

Tell us about your server. We reply within 5 working days.

What do you need? *

We use these details only to answer you.