---
id: CVE-2026-6111
aliases:
  - GHSA-r5v8-c28h-f8r8
  - PYSEC-2026-2642
title: MetaGPT affected by server-side request forgery in metagpt/utils/common.py
summary: MetaGPT affected by server-side request forgery in metagpt/utils/common.py
severity: medium
cvss: 6.3
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L'
vendor: metagpt
product: metagpt
ecosystem: pip
affected:
  - metagpt <= 0.8.2
published: '2026-04-12'
updated: '2026-07-13'
source: OSV
sourceUrl: 'https://osv.dev/vulnerability/GHSA-r5v8-c28h-f8r8'
references:
  - url: 'https://nvd.nist.gov/vuln/detail/CVE-2026-6111'
  - url: 'https://github.com/FoundationAgents/MetaGPT/issues/1934'
  - url: 'https://github.com/FoundationAgents/MetaGPT/pull/1941'
  - url: 'https://github.com/FoundationAgents/MetaGPT'
  - url: 'https://vuldb.com/submit/791762'
  - url: 'https://vuldb.com/vuln/356971'
  - url: 'https://vuldb.com/vuln/356971/cti'
tags:
  - osv
  - pip
  - exploit-available
epss: 0.00367
epssPercentile: 0.27823
ingestedAt: '2026-07-13T18:58:02.503Z'
exploits:
  github: 1
  githubRepos:
    - 'https://github.com/MonsterWsr-hub/CVE-2026-6111'
  checkedAt: '2026-09-25T08:21:05.684Z'
exploitAvailable: true
---

## Overview

A security flaw has been discovered in FoundationAgents MetaGPT up to 0.8.2. This impacts the function decode_image of the file metagpt/utils/common.py. The manipulation of the argument img_url_or_b64 results in server-side request forgery. It is possible to launch the attack remotely. The exploit has been released to the public and may be used for attacks. The project was informed of the problem early through an issue report but has not responded yet.

## Affected packages

- `metagpt <= 0.8.2`

## Remediation

Refer to the advisory for the patched release.
