reflex icon indicating copy to clipboard operation
reflex copied to clipboard

Dependency advisories at the declared floor versions of python-engineio / python-socketio (with a verified fix)

Open ujjwalD16 opened this issue 5 days ago β€’ 5 comments

Hi Reflex team β€” thank you for the wonderful framework. While doing a security review of the dependencies for my own use, I noticed a small gap between the floor versions declared in pyproject.toml and the versions your uv.lock already resolves to, and I wanted to share it in case it helps.

What the check flagged

At the declared floor minima, OSV reports 8 advisories:

  • python-engineio 4.12.0 β€” 4 advisories, all fixed in 4.13.2: GHSA-cgwc-pv48-fhj5, GHSA-m9gh-vj53-gvh9, PYSEC-2026-3032, PYSEC-2026-3033
  • python-socketio 5.12.0 β€” 4 advisories, fixed in 5.14.0 (2) and 5.16.2 (2): GHSA-5w7q-77mv-v69f, GHSA-g8c6-8fjj-2r4m, PYSEC-2026-1854, PYSEC-2026-3042

What I checked

Your uv.lock already resolves past both of these β€” python-engineio 4.14.0 and python-socketio 5.17.0 β€” and a fresh OSV query at those locked versions shows 0 advisories. So anyone installing with the lock is already fine; the gap is only for a fresh install that resolves from the declared minima.

The fix I verified

After a couple of attempts I confirmed the fix by re-querying OSV at the exact fixed versions:

  • python-engineio >= 4.13.2 β€” 0 advisories at 4.13.2
  • python-socketio >= 5.16.2 β€” 0 advisories at 5.16.2

So bumping the two floor bounds in pyproject.toml from >=4.12.0 to >=4.13.2 and from >=5.12.0 to >=5.16.2 closes the gap, and the lockfile needs no change. It is only a suggestion β€” if it seems right to you, it is my pleasure. Thank you again for Reflex.

ujjwalD16 avatar Nov 26 '26 18:11 ujjwalD16

ENG-14983

linear-code[bot] avatar Nov 26 '26 18:11 linear-code[bot]

I'll take this one and open a PR raising the two floors.

shu-chen-dot-ca avatar Nov 27 '26 03:11 shu-chen-dot-ca

Thank you so much for picking this up β€” really appreciate it. Happy to help test or review the PR whenever it's ready, just let me know. Thanks again for maintaining Reflex.

ujjwalD16 avatar Nov 27 '26 03:11 ujjwalD16

Thank you so much for opening #8038! Really glad to see the two floors being raised. I had a quick look and the changes look good to me. No further action needed from my side β€” I'll keep an eye out for the merge. Thanks again for picking this up, and for maintaining Reflex.

ujjwalD16 avatar Nov 27 '26 12:11 ujjwalD16

Thank you so much for fixing this and for closing the issue! Really glad to see the two floors raised in #8038 β€” I checked and both now sit past the advisories. No further action needed from my side β€” happy to help, and thanks again for maintaining Reflex.

ujjwalD16 avatar Nov 30 '26 17:11 ujjwalD16